We look at the division of 933670 by 51 
The aim is to understand the frequency of 51 in 933670.

On to step 1:
If we divide 9 by 51, we get 0 and a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Append the next digit (3) from the dividend to 9 and continue with: 93 / 51

On to step 2:
51 goes into 93 1 times with a remainder of 42.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 51 away from 93, we end up with 42.
Bring next digit (3) of the dividend behind the 42 and repeat the process: 423 / 51

Advancing to step 3:
The number 51 fits into 423 8 times, leaving a remainder of 15.
The next digit of our result is 8. 
Result so far: 18.0
The remainder is 15 after subtracting 408 from 423.
Append the next digit (6) from the dividend to 15 and continue with: 156 / 51

Advancing to step 4:
51 goes into 156 3 times with a remainder of 3.
Write down 3 as next digit of the result. 
Result so far: 183.0
Subtract 153 from 156 to get 3.
Grab the next digit (7) from the dividend, add it to 3, then carry on: 37 / 51

Let's proceed to step 5:
When dividing 37 by 51, we get 0 with a remainder of 37.
Write down 0 as next digit of the result. 
Result so far: 1830.0
The remainder is 37 after subtracting 0 from 37.
Take the next digit (0) from the dividend and append it to 37, then repeat: 370 / 51

Step 6:
51 goes into 370 7 times with a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 18307.0
Deduct 357 from 370 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 7:
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: 18307.2
Subtract 102 from 130 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 8:
280 divided by 51 is 5 with a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 18307.25
If we subtract 255 from 280, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 9:
51 goes into 250 4 times with a remainder of 46.
Put 4 as the next digit of the answer. 
Result so far: 18307.254
The remainder is 46 after subtracting 204 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Going ahead to step 10:
51 can be fit into 460 9 times, resulting in a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 18307.2549
If we take 459 away from 460, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 11:
51 goes into 10 0 times with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 18307.2549
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 12:
If we divide 100 by 51, we get 1 and a remainder of 49.
The number 1 becomes the next digit in our result. 
Result so far: 18307.254901
Deduct 51 from 100 and we're left with 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Advancing to step 13:
51 can be fit into 490 9 times, resulting in a remainder of 31.
Put 9 as the next digit of the answer. 
Result so far: 18307.2549019
Subtract 459 from 490 to get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Step 14:
310 divided by 51 is 6 with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 18307.25490196
Subtracting 306 from 310 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The quotient of the division is 18307.25490196, and the remainder is 4e-09.