We're dividing 840151 by 49 
The aim is to understand the frequency of 49 in 840151.

Step 1:
If we divide 8 by 49, we get 0 and a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Append the next digit (4) from the dividend to 8 and continue with: 84 / 49

On to step 2:
49 goes into 84 1 times with a remainder of 35.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 49 from 84, we get 35.
Fetch the next digit (0) from the dividend, attach it to 35 and continue: 350 / 49

On to step 3:
If we divide 350 by 49, we get 7 and a remainder of 7.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
Subtract 343 from 350 to get 7.
Take the next digit (1) from the dividend and append it to 7, then repeat: 71 / 49

Going ahead to step 4:
71 divided by 49 is 1 with a remainder of 22.
The next digit of our result is 1. 
Result so far: 171.0
The remainder is 22 after subtracting 49 from 71.
Take the next digit (5) from the dividend and append it to 22, then repeat: 225 / 49

On to step 5:
49 goes into 225 4 times with a remainder of 29.
Use 4 as the next digit of our solution. 
Result so far: 1714.0
Subtracting 196 from 225 leaves us with 29.
Append the next digit (1) from the dividend to 29 and continue with: 291 / 49

Moving on to step 6:
If we divide 291 by 49, we get 5 and a remainder of 46.
The number 5 becomes the next digit in our result. 
Result so far: 17145.0
If we subtract 245 from 291, we get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Let's proceed to step 7:
49 can be fit into 460 9 times, resulting in a remainder of 19.
The number 9 becomes the next digit in our result. 
Result so far: 17145.9
The remainder is 19 after subtracting 441 from 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 8:
190 divided by 49 is 3 with a remainder of 43.
Use 3 as the next digit of our solution. 
Result so far: 17145.93
Subtracting 147 from 190 leaves us with 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Let's proceed to step 9:
When dividing 430 by 49, we get 8 with a remainder of 38.
Record the quotient 8 as the next digit in the result. 
Result so far: 17145.938
Subtract 392 from 430 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Let's proceed to step 10:
49 goes into 380 7 times with a remainder of 37.
Record the quotient 7 as the next digit in the result. 
Result so far: 17145.9387
If we subtract 343 from 380, we get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Step 11:
The number 49 fits into 370 7 times, leaving a remainder of 27.
Use 7 as the next digit of our solution. 
Result so far: 17145.93877
If we take 343 away from 370, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

After the division, we end up with 17145.93877 and a remainder of 2.7e-05.