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

On to step 1:
51 can be fit into 2 0 times, resulting in a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Take the next digit (2) from the dividend and append it to 2, then repeat: 22 / 51

On to step 2:
When dividing 22 by 51, we get 0 with a remainder of 22.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 22 and we're left with 22.
Grab the next digit (9) from the dividend, add it to 22, then carry on: 229 / 51

On to step 3:
The number 51 fits into 229 4 times, leaving a remainder of 25.
Write down 4 as next digit of the result. 
Result so far: 4.0
Subtracting 204 from 229 leaves us with 25.
Take the next digit (9) from the dividend and append it to 25, then repeat: 259 / 51

On to step 4:
259 divided by 51 is 5 with a remainder of 4.
The number 5 becomes the next digit in our result. 
Result so far: 45.0
If we take 255 away from 259, we end up with 4.
Include the next digit (9) from the dividend after 4, then repeat: 49 / 51

Step 5:
51 can be fit into 49 0 times, resulting in a remainder of 49.
Put 0 as the next digit of the answer. 
Result so far: 450.0
Subtracting 0 from 49 leaves us with 49.
Fetch the next digit (1) from the dividend, attach it to 49 and continue: 491 / 51

Moving on to step 6:
The number 51 fits into 491 9 times, leaving a remainder of 32.
Use 9 as the next digit of our solution. 
Result so far: 4509.0
The remainder is 32 after subtracting 459 from 491.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 7:
51 can be fit into 320 6 times, resulting in a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 4509.6
Deduct 306 from 320 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 8:
If we divide 140 by 51, we get 2 and a remainder of 38.
Write down 2 as next digit of the result. 
Result so far: 4509.62
The remainder is 38 after subtracting 102 from 140.
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 9:
The number 51 fits into 380 7 times, leaving a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 4509.627
If we take 357 away from 380, we end up 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.

Advancing to step 10:
If we divide 230 by 51, we get 4 and a remainder of 26.
Put 4 as the next digit of the answer. 
Result so far: 4509.6274
The remainder is 26 after subtracting 204 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 11:
51 goes into 260 5 times with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 4509.62745
If we subtract 255 from 260, 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.

Advancing to step 12:
If we divide 50 by 51, we get 0 and a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 4509.62745
The remainder is 50 after subtracting 0 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Step 13:
The number 51 fits into 500 9 times, leaving a remainder of 41.
Record the quotient 9 as the next digit in the result. 
Result so far: 4509.6274509
Deduct 459 from 500 and we're left with 41.
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 14:
If we divide 410 by 51, we get 8 and a remainder of 2.
The next digit of our result is 8. 
Result so far: 4509.62745098
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.

The final result is 4509.62745098 with a remainder of 2e-09.