985478 ÷ 51 
The aim is to understand the frequency of 51 in 985478.

Moving on to step 1:
51 goes into 9 0 times with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 51

Going ahead to step 2:
98 divided by 51 is 1 with a remainder of 47.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 51 from 98 leaves us with 47.
Include the next digit (5) from the dividend after 47, then repeat: 475 / 51

Advancing to step 3:
The number 51 fits into 475 9 times, leaving a remainder of 16.
Write down 9 as next digit of the result. 
Result so far: 19.0
If we subtract 459 from 475, we get 16.
Take the next digit (4) from the dividend and append it to 16, then repeat: 164 / 51

Advancing to step 4:
When dividing 164 by 51, we get 3 with a remainder of 11.
Record the quotient 3 as the next digit in the result. 
Result so far: 193.0
Deduct 153 from 164 and we're left with 11.
Append the next digit (7) from the dividend to 11 and continue with: 117 / 51

Let's proceed to step 5:
51 goes into 117 2 times with a remainder of 15.
The number 2 becomes the next digit in our result. 
Result so far: 1932.0
Subtract 102 from 117 to get 15.
Append the next digit (8) from the dividend to 15 and continue with: 158 / 51

Step 6:
The number 51 fits into 158 3 times, leaving a remainder of 5.
Record the quotient 3 as the next digit in the result. 
Result so far: 19323.0
If we subtract 153 from 158, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 7:
51 goes into 50 0 times with a remainder of 50.
Use 0 as the next digit of our solution. 
Result so far: 19323.0
If we subtract 0 from 50, we get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Going ahead to step 8:
When dividing 500 by 51, we get 9 with a remainder of 41.
The next digit of our result is 9. 
Result so far: 19323.09
The remainder is 41 after subtracting 459 from 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Going ahead to step 9:
51 can be fit into 410 8 times, resulting in a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 19323.098
If we take 408 away from 410, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 10:
20 divided by 51 is 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 19323.098
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 11:
If we divide 200 by 51, we get 3 and a remainder of 47.
Record the quotient 3 as the next digit in the result. 
Result so far: 19323.09803
Deduct 153 from 200 and we're left with 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

On to step 12:
51 can be fit into 470 9 times, resulting in a remainder of 11.
The number 9 becomes the next digit in our result. 
Result so far: 19323.098039
If we take 459 away from 470, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 13:
110 divided by 51 is 2 with a remainder of 8.
The next digit of our result is 2. 
Result so far: 19323.0980392
Subtracting 102 from 110 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 14:
The number 51 fits into 80 1 times, leaving a remainder of 29.
The number 1 becomes the next digit in our result. 
Result so far: 19323.09803921
If we take 51 away from 80, we end up with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

The final outcome is 19323.09803921, with a leftover of 2.9e-08.