We look at the division of 58165270 by 407 
The aim is to understand the frequency of 407 in 58165270.

On to step 1:
The number 407 fits into 5 0 times, leaving a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 407

Going ahead to step 2:
If we divide 58 by 407, we get 0 and a remainder of 58.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 58, we get 58.
Append the next digit (1) from the dividend to 58 and continue with: 581 / 407

Let's proceed to step 3:
If we divide 581 by 407, we get 1 and a remainder of 174.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 174 after subtracting 407 from 581.
Append the next digit (6) from the dividend to 174 and continue with: 1746 / 407

Going ahead to step 4:
The number 407 fits into 1746 4 times, leaving a remainder of 118.
Use 4 as the next digit of our solution. 
Result so far: 14.0
Subtract 1628 from 1746 to get 118.
Fetch the next digit (5) from the dividend, attach it to 118 and continue: 1185 / 407

Moving on to step 5:
When dividing 1185 by 407, we get 2 with a remainder of 371.
The next digit of our result is 2. 
Result so far: 142.0
The remainder is 371 after subtracting 814 from 1185.
Grab the next digit (2) from the dividend, add it to 371, then carry on: 3712 / 407

Advancing to step 6:
When dividing 3712 by 407, we get 9 with a remainder of 49.
Write down 9 as next digit of the result. 
Result so far: 1429.0
The remainder is 49 after subtracting 3663 from 3712.
Include the next digit (7) from the dividend after 49, then repeat: 497 / 407

Step 7:
407 goes into 497 1 times with a remainder of 90.
Use 1 as the next digit of our solution. 
Result so far: 14291.0
Subtract 407 from 497 to get 90.
Grab the next digit (0) from the dividend, add it to 90, then carry on: 900 / 407

On to step 8:
900 divided by 407 is 2 with a remainder of 86.
Write down 2 as next digit of the result. 
Result so far: 142912.0
Subtract 814 from 900 to get 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

On to step 9:
The number 407 fits into 860 2 times, leaving a remainder of 46.
Put 2 as the next digit of the answer. 
Result so far: 142912.2
Deduct 814 from 860 and we're left with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Going ahead to step 10:
407 goes into 460 1 times with a remainder of 53.
Record the quotient 1 as the next digit in the result. 
Result so far: 142912.21
Subtract 407 from 460 to get 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

Let's proceed to step 11:
407 goes into 530 1 times with a remainder of 123.
Put 1 as the next digit of the answer. 
Result so far: 142912.211
If we subtract 407 from 530, we get 123.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1230, and continue the process.

In conclusion, the division gives 142912.211 with a balance of 0.0123.