We're dividing 797337 by 28 
The aim is to understand the frequency of 28 in 797337.

On to step 1:
When dividing 7 by 28, we get 0 with a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Include the next digit (9) from the dividend after 7, then repeat: 79 / 28

Advancing to step 2:
The number 28 fits into 79 2 times, leaving a remainder of 23.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtracting 56 from 79 leaves us with 23.
Bring next digit (7) of the dividend behind the 23 and repeat the process: 237 / 28

Step 3:
When dividing 237 by 28, we get 8 with a remainder of 13.
Use 8 as the next digit of our solution. 
Result so far: 28.0
If we take 224 away from 237, we end up with 13.
Fetch the next digit (3) from the dividend, attach it to 13 and continue: 133 / 28

Going ahead to step 4:
The number 28 fits into 133 4 times, leaving a remainder of 21.
Use 4 as the next digit of our solution. 
Result so far: 284.0
If we take 112 away from 133, we end up with 21.
Take the next digit (3) from the dividend and append it to 21, then repeat: 213 / 28

Step 5:
When dividing 213 by 28, we get 7 with a remainder of 17.
Put 7 as the next digit of the answer. 
Result so far: 2847.0
If we take 196 away from 213, we end up with 17.
Append the next digit (7) from the dividend to 17 and continue with: 177 / 28

On to step 6:
The number 28 fits into 177 6 times, leaving a remainder of 9.
Record the quotient 6 as the next digit in the result. 
Result so far: 28476.0
The remainder is 9 after subtracting 168 from 177.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 7:
28 goes into 90 3 times with a remainder of 6.
Write down 3 as next digit of the result. 
Result so far: 28476.3
The remainder is 6 after subtracting 84 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 8:
60 divided by 28 is 2 with a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 28476.32
Subtract 56 from 60 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 9:
28 goes into 40 1 times with a remainder of 12.
The number 1 becomes the next digit in our result. 
Result so far: 28476.321
Subtracting 28 from 40 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 10:
28 goes into 120 4 times with a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 28476.3214
If we take 112 away from 120, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 11:
28 goes into 80 2 times with a remainder of 24.
The number 2 becomes the next digit in our result. 
Result so far: 28476.32142
If we take 56 away from 80, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 12:
The number 28 fits into 240 8 times, leaving a remainder of 16.
Record the quotient 8 as the next digit in the result. 
Result so far: 28476.321428
Subtracting 224 from 240 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.

On to step 13:
The number 28 fits into 160 5 times, leaving a remainder of 20.
Put 5 as the next digit of the answer. 
Result so far: 28476.3214285
Deduct 140 from 160 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 14:
If we divide 200 by 28, we get 7 and a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 28476.32142857
Deduct 196 from 200 and we're left 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 final outcome is 28476.32142857, with a leftover of 4e-09.