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

Going ahead to step 1:
When dividing 7 by 51, we get 0 with a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Bring next digit (9) of the dividend behind the 7 and repeat the process: 79 / 51

Going ahead to step 2:
79 divided by 51 is 1 with a remainder of 28.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 51 away from 79, we end up with 28.
Grab the next digit (6) from the dividend, add it to 28, then carry on: 286 / 51

Going ahead to step 3:
When dividing 286 by 51, we get 5 with a remainder of 31.
Put 5 as the next digit of the answer. 
Result so far: 15.0
Subtract 255 from 286 to get 31.
Take the next digit (7) from the dividend and append it to 31, then repeat: 317 / 51

Let's proceed to step 4:
The number 51 fits into 317 6 times, leaving a remainder of 11.
Record the quotient 6 as the next digit in the result. 
Result so far: 156.0
If we take 306 away from 317, we end up with 11.
Include the next digit (3) from the dividend after 11, then repeat: 113 / 51

Let's proceed to step 5:
113 divided by 51 is 2 with a remainder of 11.
Put 2 as the next digit of the answer. 
Result so far: 1562.0
If we subtract 102 from 113, we get 11.
Fetch the next digit (8) from the dividend, attach it to 11 and continue: 118 / 51

On to step 6:
118 divided by 51 is 2 with a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 15622.0
Subtracting 102 from 118 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 7:
The number 51 fits into 160 3 times, leaving a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 15622.3
If we take 153 away from 160, we end up 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.

Step 8:
If we divide 70 by 51, we get 1 and a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 15622.31
Deduct 51 from 70 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Let's proceed to step 9:
If we divide 190 by 51, we get 3 and a remainder of 37.
The number 3 becomes the next digit in our result. 
Result so far: 15622.313
Subtract 153 from 190 to 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.

Let's proceed to step 10:
51 can be fit into 370 7 times, resulting in a remainder of 13.
Record the quotient 7 as the next digit in the result. 
Result so far: 15622.3137
If we take 357 away from 370, we end up 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.

On to step 11:
When dividing 130 by 51, we get 2 with a remainder of 28.
The next digit of our result is 2. 
Result so far: 15622.31372
If we take 102 away from 130, we end up 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.

Let's proceed to step 12:
If we divide 280 by 51, we get 5 and a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 15622.313725
Deduct 255 from 280 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 13:
If we divide 250 by 51, we get 4 and a remainder of 46.
Put 4 as the next digit of the answer. 
Result so far: 15622.3137254
Subtracting 204 from 250 leaves us with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Let's proceed to step 14:
When dividing 460 by 51, we get 9 with a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 15622.31372549
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.

The final outcome is 15622.31372549, with a leftover of 1e-09.