Let's divide 31413054 by 904
The aim is to understand the frequency of 904 in 31413054.

Advancing to step 1:
The number 904 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 904

Step 2:
31 divided by 904 is 0 with a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Include the next digit (4) from the dividend after 31, then repeat: 314 / 904

Going ahead to step 3:
314 divided by 904 is 0 with a remainder of 314.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 314, we end up with 314.
Take the next digit (1) from the dividend and append it to 314, then repeat: 3141 / 904

Moving on to step 4:
The number 904 fits into 3141 3 times, leaving a remainder of 429.
Put 3 as the next digit of the answer. 
Result so far: 3.0
If we subtract 2712 from 3141, we get 429.
Bring next digit (3) of the dividend behind the 429 and repeat the process: 4293 / 904

Moving on to step 5:
904 can be fit into 4293 4 times, resulting in a remainder of 677.
The number 4 becomes the next digit in our result. 
Result so far: 34.0
If we take 3616 away from 4293, we end up with 677.
Take the next digit (0) from the dividend and append it to 677, then repeat: 6770 / 904

On to step 6:
When dividing 6770 by 904, we get 7 with a remainder of 442.
Use 7 as the next digit of our solution. 
Result so far: 347.0
The remainder is 442 after subtracting 6328 from 6770.
Append the next digit (5) from the dividend to 442 and continue with: 4425 / 904

Going ahead to step 7:
904 goes into 4425 4 times with a remainder of 809.
Use 4 as the next digit of our solution. 
Result so far: 3474.0
If we subtract 3616 from 4425, we get 809.
Grab the next digit (4) from the dividend, add it to 809, then carry on: 8094 / 904

Moving on to step 8:
The number 904 fits into 8094 8 times, leaving a remainder of 862.
Record the quotient 8 as the next digit in the result. 
Result so far: 34748.0
If we subtract 7232 from 8094, we get 862.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8620, and continue the process.

Advancing to step 9:
8620 divided by 904 is 9 with a remainder of 484.
Record the quotient 9 as the next digit in the result. 
Result so far: 34748.9
Deduct 8136 from 8620 and we're left with 484.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4840, and continue the process.

On to step 10:
904 goes into 4840 5 times with a remainder of 320.
Use 5 as the next digit of our solution. 
Result so far: 34748.95
Subtracting 4520 from 4840 leaves us 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.

Advancing to step 11:
3200 divided by 904 is 3 with a remainder of 488.
Write down 3 as next digit of the result. 
Result so far: 34748.953
If we take 2712 away from 3200, we end up with 488.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4880, and continue the process.

Moving on to step 12:
When dividing 4880 by 904, we get 5 with a remainder of 360.
Write down 5 as next digit of the result. 
Result so far: 34748.9535
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.

Moving on to step 13:
If we divide 3600 by 904, we get 3 and a remainder of 888.
Record the quotient 3 as the next digit in the result. 
Result so far: 34748.95353
Subtract 2712 from 3600 to get 888.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8880, and continue the process.

Let's proceed to step 14:
The number 904 fits into 8880 9 times, leaving a remainder of 744.
The number 9 becomes the next digit in our result. 
Result so far: 34748.953539
Deduct 8136 from 8880 and we're left with 744.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7440, and continue the process.

On to step 15:
If we divide 7440 by 904, we get 8 and a remainder of 208.
Record the quotient 8 as the next digit in the result. 
Result so far: 34748.9535398
The remainder is 208 after subtracting 7232 from 7440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

Moving on to step 16:
2080 divided by 904 is 2 with a remainder of 272.
The number 2 becomes the next digit in our result. 
Result so far: 34748.95353982
Subtracting 1808 from 2080 leaves us with 272.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

After the division, we end up with 34748.95353982 and a remainder of 2.72e-07.