We look at the division of 39917740 by 904 
The aim is to understand the frequency of 904 in 39917740.

Let's proceed to step 1:
3 divided by 904 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 904

On to step 2:
904 goes into 39 0 times with a remainder of 39.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 39 to get 39.
Grab the next digit (9) from the dividend, add it to 39, then carry on: 399 / 904

Let's proceed to step 3:
If we divide 399 by 904, we get 0 and a remainder of 399.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 399 and we're left with 399.
Append the next digit (1) from the dividend to 399 and continue with: 3991 / 904

Going ahead to step 4:
904 can be fit into 3991 4 times, resulting in a remainder of 375.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Subtracting 3616 from 3991 leaves us with 375.
Append the next digit (7) from the dividend to 375 and continue with: 3757 / 904

Advancing to step 5:
The number 904 fits into 3757 4 times, leaving a remainder of 141.
Write down 4 as next digit of the result. 
Result so far: 44.0
If we subtract 3616 from 3757, we get 141.
Grab the next digit (7) from the dividend, add it to 141, then carry on: 1417 / 904

Let's proceed to step 6:
When dividing 1417 by 904, we get 1 with a remainder of 513.
Record the quotient 1 as the next digit in the result. 
Result so far: 441.0
If we take 904 away from 1417, we end up with 513.
Take the next digit (4) from the dividend and append it to 513, then repeat: 5134 / 904

Let's proceed to step 7:
904 goes into 5134 5 times with a remainder of 614.
Write down 5 as next digit of the result. 
Result so far: 4415.0
If we take 4520 away from 5134, we end up with 614.
Take the next digit (0) from the dividend and append it to 614, then repeat: 6140 / 904

Moving on to step 8:
The number 904 fits into 6140 6 times, leaving a remainder of 716.
Put 6 as the next digit of the answer. 
Result so far: 44156.0
Subtract 5424 from 6140 to get 716.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7160, and continue the process.

Let's proceed to step 9:
7160 divided by 904 is 7 with a remainder of 832.
The next digit of our result is 7. 
Result so far: 44156.7
Subtracting 6328 from 7160 leaves us with 832.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8320, and continue the process.

On to step 10:
8320 divided by 904 is 9 with a remainder of 184.
The number 9 becomes the next digit in our result. 
Result so far: 44156.79
If we subtract 8136 from 8320, we get 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Let's proceed to step 11:
The number 904 fits into 1840 2 times, leaving a remainder of 32.
The number 2 becomes the next digit in our result. 
Result so far: 44156.792
Deduct 1808 from 1840 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 12:
904 can be fit into 320 0 times, resulting in a remainder of 320.
Put 0 as the next digit of the answer. 
Result so far: 44156.792
If we take 0 away from 320, we end up with 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

On to step 13:
904 can be fit into 3200 3 times, resulting in a remainder of 488.
Put 3 as the next digit of the answer. 
Result so far: 44156.79203
If we subtract 2712 from 3200, we get 488.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4880, and continue the process.

Advancing to step 14:
When dividing 4880 by 904, we get 5 with a remainder of 360.
The number 5 becomes the next digit in our result. 
Result so far: 44156.792035
Subtracting 4520 from 4880 leaves us with 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3600, and continue the process.

Step 15:
The number 904 fits into 3600 3 times, leaving a remainder of 888.
Record the quotient 3 as the next digit in the result. 
Result so far: 44156.7920353
If we take 2712 away from 3600, we end up with 888.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8880, and continue the process.

Step 16:
8880 divided by 904 is 9 with a remainder of 744.
Write down 9 as next digit of the result. 
Result so far: 44156.79203539
If we subtract 8136 from 8880, we get 744.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7440, and continue the process.

Our division results in 44156.79203539 with a remaining 7.44e-07.