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

On to step 1:
If we divide 1 by 51, we get 0 and a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 51

On to step 2:
The number 51 fits into 16 0 times, leaving a remainder of 16.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 16 to get 16.
Fetch the next digit (8) from the dividend, attach it to 16 and continue: 168 / 51

Moving on to step 3:
51 can be fit into 168 3 times, resulting in a remainder of 15.
Write down 3 as next digit of the result. 
Result so far: 3.0
Deduct 153 from 168 and we're left with 15.
Bring next digit (3) of the dividend behind the 15 and repeat the process: 153 / 51

Advancing to step 4:
51 can be fit into 153 3 times, resulting in a remainder of 0.
The number 3 becomes the next digit in our result. 
Result so far: 33.0
Deduct 153 from 153 and we're left with 0.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 51

Step 5:
When dividing 8 by 51, we get 0 with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 330.0
Subtract 0 from 8 to get 8.
Grab the next digit (9) from the dividend, add it to 8, then carry on: 89 / 51

Step 6:
89 divided by 51 is 1 with a remainder of 38.
Put 1 as the next digit of the answer. 
Result so far: 3301.0
The remainder is 38 after subtracting 51 from 89.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 7:
The number 51 fits into 380 7 times, leaving a remainder of 23.
Put 7 as the next digit of the answer. 
Result so far: 3301.7
If we subtract 357 from 380, we get 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 8:
51 goes into 230 4 times with a remainder of 26.
Record the quotient 4 as the next digit in the result. 
Result so far: 3301.74
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.

Advancing to step 9:
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: 3301.745
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.

Going ahead to step 10:
50 divided by 51 is 0 with a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 3301.745
Deduct 0 from 50 and we're left with 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 11:
If we divide 500 by 51, we get 9 and a remainder of 41.
Put 9 as the next digit of the answer. 
Result so far: 3301.74509
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.

On to step 12:
51 goes into 410 8 times with a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 3301.745098
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.

Going ahead to step 13:
The number 51 fits into 20 0 times, leaving a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 3301.745098
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 14:
51 goes into 200 3 times with a remainder of 47.
Record the quotient 3 as the next digit in the result. 
Result so far: 3301.74509803
If we take 153 away from 200, we end up 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.

The quotient of the division is 3301.74509803, and the remainder is 4.7e-08.