We're dividing 945895 by 51 
The aim is to understand the frequency of 51 in 945895.

Going ahead to step 1:
If we divide 9 by 51, we get 0 and a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Append the next digit (4) from the dividend to 9 and continue with: 94 / 51

On to step 2:
When dividing 94 by 51, we get 1 with a remainder of 43.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 51 away from 94, we end up with 43.
Grab the next digit (5) from the dividend, add it to 43, then carry on: 435 / 51

Advancing to step 3:
If we divide 435 by 51, we get 8 and a remainder of 27.
Write down 8 as next digit of the result. 
Result so far: 18.0
Subtracting 408 from 435 leaves us with 27.
Fetch the next digit (8) from the dividend, attach it to 27 and continue: 278 / 51

Step 4:
278 divided by 51 is 5 with a remainder of 23.
Write down 5 as next digit of the result. 
Result so far: 185.0
If we subtract 255 from 278, we get 23.
Include the next digit (9) from the dividend after 23, then repeat: 239 / 51

Advancing to step 5:
When dividing 239 by 51, we get 4 with a remainder of 35.
Put 4 as the next digit of the answer. 
Result so far: 1854.0
The remainder is 35 after subtracting 204 from 239.
Grab the next digit (5) from the dividend, add it to 35, then carry on: 355 / 51

Advancing to step 6:
51 can be fit into 355 6 times, resulting in a remainder of 49.
Write down 6 as next digit of the result. 
Result so far: 18546.0
Subtract 306 from 355 to get 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Advancing to step 7:
51 goes into 490 9 times with a remainder of 31.
Use 9 as the next digit of our solution. 
Result so far: 18546.9
Subtracting 459 from 490 leaves us with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Advancing to step 8:
51 can be fit into 310 6 times, resulting in a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 18546.96
Subtract 306 from 310 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 9:
40 divided by 51 is 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 18546.96
Deduct 0 from 40 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 10:
51 goes into 400 7 times with a remainder of 43.
The next digit of our result is 7. 
Result so far: 18546.9607
If we take 357 away from 400, we end up 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.

Moving on to step 11:
The number 51 fits into 430 8 times, leaving a remainder of 22.
Record the quotient 8 as the next digit in the result. 
Result so far: 18546.96078
If we subtract 408 from 430, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 12:
The number 51 fits into 220 4 times, leaving a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 18546.960784
Subtracting 204 from 220 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 13:
If we divide 160 by 51, we get 3 and a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 18546.9607843
If we take 153 away from 160, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 14:
When dividing 70 by 51, we get 1 with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 18546.96078431
If we subtract 51 from 70, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Our division results in 18546.96078431 with a remaining 1.9e-08.