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

Moving on to step 1:
51 goes into 4 0 times with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 51

Step 2:
40 divided by 51 is 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Take the next digit (2) from the dividend and append it to 40, then repeat: 402 / 51

On to step 3:
The number 51 fits into 402 7 times, leaving a remainder of 45.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
If we subtract 357 from 402, we get 45.
Include the next digit (7) from the dividend after 45, then repeat: 457 / 51

On to step 4:
When dividing 457 by 51, we get 8 with a remainder of 49.
The number 8 becomes the next digit in our result. 
Result so far: 78.0
Subtracting 408 from 457 leaves us with 49.
Take the next digit (3) from the dividend and append it to 49, then repeat: 493 / 51

On to step 5:
493 divided by 51 is 9 with a remainder of 34.
Put 9 as the next digit of the answer. 
Result so far: 789.0
Deduct 459 from 493 and we're left with 34.
Fetch the next digit (4) from the dividend, attach it to 34 and continue: 344 / 51

On to step 6:
When dividing 344 by 51, we get 6 with a remainder of 38.
The number 6 becomes the next digit in our result. 
Result so far: 7896.0
The remainder is 38 after subtracting 306 from 344.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 7:
When dividing 380 by 51, we get 7 with a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 7896.7
The remainder is 23 after subtracting 357 from 380.
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 8:
230 divided by 51 is 4 with a remainder of 26.
The number 4 becomes the next digit in our result. 
Result so far: 7896.74
Subtracting 204 from 230 leaves us with 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 9:
When dividing 260 by 51, we get 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 7896.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.

Let's proceed to step 10:
51 can be fit into 50 0 times, resulting in a remainder of 50.
The number 0 becomes the next digit in our result. 
Result so far: 7896.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.

Going ahead to step 11:
51 can be fit into 500 9 times, resulting in a remainder of 41.
The number 9 becomes the next digit in our result. 
Result so far: 7896.74509
If we subtract 459 from 500, we get 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Let's proceed 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: 7896.745098
If we subtract 408 from 410, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 13:
51 can be fit into 20 0 times, resulting in a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 7896.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.

Going ahead 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: 7896.74509803
If we subtract 153 from 200, we get 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

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