Let's divide 40854838 by 851
The aim is to understand the frequency of 851 in 40854838.

Advancing to step 1:
When dividing 4 by 851, we get 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 851

Advancing to step 2:
When dividing 40 by 851, we get 0 with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Fetch the next digit (8) from the dividend, attach it to 40 and continue: 408 / 851

Moving on to step 3:
When dividing 408 by 851, we get 0 with a remainder of 408.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 408, we end up with 408.
Take the next digit (5) from the dividend and append it to 408, then repeat: 4085 / 851

Let's proceed to step 4:
851 goes into 4085 4 times with a remainder of 681.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtracting 3404 from 4085 leaves us with 681.
Append the next digit (4) from the dividend to 681 and continue with: 6814 / 851

Going ahead to step 5:
6814 divided by 851 is 8 with a remainder of 6.
Record the quotient 8 as the next digit in the result. 
Result so far: 48.0
Subtract 6808 from 6814 to get 6.
Grab the next digit (8) from the dividend, add it to 6, then carry on: 68 / 851

Let's proceed to step 6:
If we divide 68 by 851, we get 0 and a remainder of 68.
The number 0 becomes the next digit in our result. 
Result so far: 480.0
Subtract 0 from 68 to get 68.
Fetch the next digit (3) from the dividend, attach it to 68 and continue: 683 / 851

Step 7:
When dividing 683 by 851, we get 0 with a remainder of 683.
The number 0 becomes the next digit in our result. 
Result so far: 4800.0
Subtracting 0 from 683 leaves us with 683.
Take the next digit (8) from the dividend and append it to 683, then repeat: 6838 / 851

Advancing to step 8:
The number 851 fits into 6838 8 times, leaving a remainder of 30.
Use 8 as the next digit of our solution. 
Result so far: 48008.0
Subtract 6808 from 6838 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 9:
300 divided by 851 is 0 with a remainder of 300.
Use 0 as the next digit of our solution. 
Result so far: 48008.0
If we subtract 0 from 300, we get 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

Advancing to step 10:
851 can be fit into 3000 3 times, resulting in a remainder of 447.
Use 3 as the next digit of our solution. 
Result so far: 48008.03
Deduct 2553 from 3000 and we're left with 447.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4470, and continue the process.

Advancing to step 11:
851 goes into 4470 5 times with a remainder of 215.
The next digit of our result is 5. 
Result so far: 48008.035
Subtract 4255 from 4470 to get 215.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2150, and continue the process.

Going ahead to step 12:
851 goes into 2150 2 times with a remainder of 448.
The next digit of our result is 2. 
Result so far: 48008.0352
If we subtract 1702 from 2150, we get 448.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4480, and continue the process.

On to step 13:
851 goes into 4480 5 times with a remainder of 225.
The number 5 becomes the next digit in our result. 
Result so far: 48008.03525
Subtracting 4255 from 4480 leaves us with 225.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2250, and continue the process.

Moving on to step 14:
The number 851 fits into 2250 2 times, leaving a remainder of 548.
Record the quotient 2 as the next digit in the result. 
Result so far: 48008.035252
If we subtract 1702 from 2250, we get 548.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5480, and continue the process.

Moving on to step 15:
The number 851 fits into 5480 6 times, leaving a remainder of 374.
Write down 6 as next digit of the result. 
Result so far: 48008.0352526
Subtract 5106 from 5480 to get 374.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3740, and continue the process.

Step 16:
When dividing 3740 by 851, we get 4 with a remainder of 336.
Write down 4 as next digit of the result. 
Result so far: 48008.03525264
If we take 3404 away from 3740, we end up with 336.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3360, and continue the process.

In conclusion, the division gives 48008.03525264 with a balance of 3.36e-07.