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

Going ahead to step 1:
1 divided by 51 is 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 51

Going ahead to step 2:
The number 51 fits into 12 0 times, leaving a remainder of 12.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 12, we get 12.
Append the next digit (3) from the dividend to 12 and continue with: 123 / 51

Step 3:
If we divide 123 by 51, we get 2 and a remainder of 21.
Write down 2 as next digit of the result. 
Result so far: 2.0
The remainder is 21 after subtracting 102 from 123.
Grab the next digit (4) from the dividend, add it to 21, then carry on: 214 / 51

Going ahead to step 4:
If we divide 214 by 51, we get 4 and a remainder of 10.
Record the quotient 4 as the next digit in the result. 
Result so far: 24.0
If we subtract 204 from 214, we get 10.
Bring next digit (0) of the dividend behind the 10 and repeat the process: 100 / 51

Advancing to step 5:
If we divide 100 by 51, we get 1 and a remainder of 49.
Record the quotient 1 as the next digit in the result. 
Result so far: 241.0
Subtract 51 from 100 to get 49.
Include the next digit (2) from the dividend after 49, then repeat: 492 / 51

Moving on to step 6:
51 goes into 492 9 times with a remainder of 33.
Record the quotient 9 as the next digit in the result. 
Result so far: 2419.0
Subtract 459 from 492 to get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

On to step 7:
51 can be fit into 330 6 times, resulting in a remainder of 24.
The next digit of our result is 6. 
Result so far: 2419.6
If we take 306 away from 330, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 8:
When dividing 240 by 51, we get 4 with a remainder of 36.
Put 4 as the next digit of the answer. 
Result so far: 2419.64
Deduct 204 from 240 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 9:
The number 51 fits into 360 7 times, leaving a remainder of 3.
The next digit of our result is 7. 
Result so far: 2419.647
The remainder is 3 after subtracting 357 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 10:
If we divide 30 by 51, we get 0 and a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 2419.647
Deduct 0 from 30 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 11:
51 can be fit into 300 5 times, resulting in a remainder of 45.
Use 5 as the next digit of our solution. 
Result so far: 2419.64705
If we subtract 255 from 300, we get 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Going ahead to step 12:
When dividing 450 by 51, we get 8 with a remainder of 42.
The number 8 becomes the next digit in our result. 
Result so far: 2419.647058
Deduct 408 from 450 and we're left with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

On to step 13:
420 divided by 51 is 8 with a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 2419.6470588
If we subtract 408 from 420, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

In conclusion, the division gives 2419.6470588 with a balance of 1.2e-07.