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

Moving on to step 1:
The number 51 fits into 7 0 times, leaving a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Include the next digit (9) from the dividend after 7, then repeat: 79 / 51

Advancing to step 2:
51 goes into 79 1 times with a remainder of 28.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 51 from 79 and we're left with 28.
Include the next digit (7) from the dividend after 28, then repeat: 287 / 51

Going ahead to step 3:
If we divide 287 by 51, we get 5 and a remainder of 32.
Put 5 as the next digit of the answer. 
Result so far: 15.0
Subtract 255 from 287 to get 32.
Fetch the next digit (8) from the dividend, attach it to 32 and continue: 328 / 51

On to step 4:
51 goes into 328 6 times with a remainder of 22.
Put 6 as the next digit of the answer. 
Result so far: 156.0
If we take 306 away from 328, we end up with 22.
Fetch the next digit (0) from the dividend, attach it to 22 and continue: 220 / 51

On to step 5:
51 goes into 220 4 times with a remainder of 16.
The next digit of our result is 4. 
Result so far: 1564.0
The remainder is 16 after subtracting 204 from 220.
Fetch the next digit (0) from the dividend, attach it to 16 and continue: 160 / 51

Advancing to step 6:
The number 51 fits into 160 3 times, leaving a remainder of 7.
The next digit of our result is 3. 
Result so far: 15643.0
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.

Step 7:
When dividing 70 by 51, we get 1 with a remainder of 19.
The next digit of our result is 1. 
Result so far: 15643.1
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.

Let's proceed to step 8:
If we divide 190 by 51, we get 3 and a remainder of 37.
The next digit of our result is 3. 
Result so far: 15643.13
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 9:
The number 51 fits into 370 7 times, leaving a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 15643.137
Subtracting 357 from 370 leaves us 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.

Going ahead to step 10:
When dividing 130 by 51, we get 2 with a remainder of 28.
The next digit of our result is 2. 
Result so far: 15643.1372
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.

Advancing to step 11:
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: 15643.13725
Subtract 255 from 280 to 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 12:
The number 51 fits into 250 4 times, leaving a remainder of 46.
Put 4 as the next digit of the answer. 
Result so far: 15643.137254
Subtract 204 from 250 to get 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 13:
The number 51 fits into 460 9 times, leaving a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 15643.1372549
Subtracting 459 from 460 leaves us 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.

Moving on to step 14:
If we divide 10 by 51, we get 0 and a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 15643.1372549
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The final result is 15643.1372549 with a remainder of 1e-08.