We're dividing 347146 by 51 
The aim is to understand the frequency of 51 in 347146.

Going ahead to step 1:
3 divided by 51 is 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Take the next digit (4) from the dividend and append it to 3, then repeat: 34 / 51

On to step 2:
34 divided by 51 is 0 with a remainder of 34.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 34 after subtracting 0 from 34.
Grab the next digit (7) from the dividend, add it to 34, then carry on: 347 / 51

Step 3:
51 can be fit into 347 6 times, resulting in a remainder of 41.
Put 6 as the next digit of the answer. 
Result so far: 6.0
Subtract 306 from 347 to get 41.
Append the next digit (1) from the dividend to 41 and continue with: 411 / 51

Step 4:
411 divided by 51 is 8 with a remainder of 3.
The next digit of our result is 8. 
Result so far: 68.0
Deduct 408 from 411 and we're left with 3.
Include the next digit (4) from the dividend after 3, then repeat: 34 / 51

Step 5:
51 goes into 34 0 times with a remainder of 34.
Record the quotient 0 as the next digit in the result. 
Result so far: 680.0
Deduct 0 from 34 and we're left with 34.
Take the next digit (6) from the dividend and append it to 34, then repeat: 346 / 51

On to step 6:
If we divide 346 by 51, we get 6 and a remainder of 40.
Use 6 as the next digit of our solution. 
Result so far: 6806.0
If we take 306 away from 346, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 7:
The number 51 fits into 400 7 times, leaving a remainder of 43.
Record the quotient 7 as the next digit in the result. 
Result so far: 6806.7
Subtract 357 from 400 to get 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Step 8:
430 divided by 51 is 8 with a remainder of 22.
The next digit of our result is 8. 
Result so far: 6806.78
If we subtract 408 from 430, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 9:
220 divided by 51 is 4 with a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 6806.784
If we subtract 204 from 220, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 10:
51 goes into 160 3 times with a remainder of 7.
Put 3 as the next digit of the answer. 
Result so far: 6806.7843
Subtracting 153 from 160 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 11:
51 can be fit into 70 1 times, resulting in a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 6806.78431
If we subtract 51 from 70, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 12:
The number 51 fits into 190 3 times, leaving a remainder of 37.
Use 3 as the next digit of our solution. 
Result so far: 6806.784313
If we subtract 153 from 190, we get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Step 13:
51 goes into 370 7 times with a remainder of 13.
The next digit of our result is 7. 
Result so far: 6806.7843137
Subtract 357 from 370 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

On to step 14:
The number 51 fits into 130 2 times, leaving a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 6806.78431372
Deduct 102 from 130 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

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