Let's divide 998981 by 51
The aim is to understand the frequency of 51 in 998981.

Going ahead to step 1:
9 divided by 51 is 0 with a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Take the next digit (9) from the dividend and append it to 9, then repeat: 99 / 51

On to step 2:
If we divide 99 by 51, we get 1 and a remainder of 48.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 51 from 99, we get 48.
Fetch the next digit (8) from the dividend, attach it to 48 and continue: 488 / 51

Advancing to step 3:
51 can be fit into 488 9 times, resulting in a remainder of 29.
Record the quotient 9 as the next digit in the result. 
Result so far: 19.0
The remainder is 29 after subtracting 459 from 488.
Include the next digit (9) from the dividend after 29, then repeat: 299 / 51

Step 4:
51 can be fit into 299 5 times, resulting in a remainder of 44.
Record the quotient 5 as the next digit in the result. 
Result so far: 195.0
The remainder is 44 after subtracting 255 from 299.
Grab the next digit (8) from the dividend, add it to 44, then carry on: 448 / 51

Going ahead to step 5:
If we divide 448 by 51, we get 8 and a remainder of 40.
Write down 8 as next digit of the result. 
Result so far: 1958.0
If we take 408 away from 448, we end up with 40.
Take the next digit (1) from the dividend and append it to 40, then repeat: 401 / 51

Let's proceed to step 6:
51 goes into 401 7 times with a remainder of 44.
Write down 7 as next digit of the result. 
Result so far: 19587.0
Deduct 357 from 401 and we're left with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Step 7:
If we divide 440 by 51, we get 8 and a remainder of 32.
The number 8 becomes the next digit in our result. 
Result so far: 19587.8
Subtract 408 from 440 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

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

Going ahead to step 9:
If we divide 140 by 51, we get 2 and a remainder of 38.
Put 2 as the next digit of the answer. 
Result so far: 19587.862
If we subtract 102 from 140, we 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.

On to step 10:
51 goes into 380 7 times with a remainder of 23.
Put 7 as the next digit of the answer. 
Result so far: 19587.8627
Subtracting 357 from 380 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 11:
When dividing 230 by 51, we get 4 with a remainder of 26.
Use 4 as the next digit of our solution. 
Result so far: 19587.86274
If we subtract 204 from 230, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 12:
The number 51 fits into 260 5 times, leaving a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 19587.862745
Subtracting 255 from 260 leaves us with 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 13:
The number 51 fits into 50 0 times, leaving a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 19587.862745
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.

Moving on to step 14:
When dividing 500 by 51, we get 9 with a remainder of 41.
The next digit of our result is 9. 
Result so far: 19587.86274509
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.

After the division, we end up with 19587.86274509 and a remainder of 4.1e-08.