We're dividing 6742249 by 798 
The aim is to understand the frequency of 798 in 6742249.

Going ahead to step 1:
If we divide 6 by 798, we get 0 and a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 6 leaves us with 6.
Fetch the next digit (7) from the dividend, attach it to 6 and continue: 67 / 798

On to step 2:
When dividing 67 by 798, we get 0 with a remainder of 67.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 67 to get 67.
Include the next digit (4) from the dividend after 67, then repeat: 674 / 798

Going ahead to step 3:
The number 798 fits into 674 0 times, leaving a remainder of 674.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 674, we end up with 674.
Append the next digit (2) from the dividend to 674 and continue with: 6742 / 798

Going ahead to step 4:
798 can be fit into 6742 8 times, resulting in a remainder of 358.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
The remainder is 358 after subtracting 6384 from 6742.
Include the next digit (2) from the dividend after 358, then repeat: 3582 / 798

Moving on to step 5:
When dividing 3582 by 798, we get 4 with a remainder of 390.
Put 4 as the next digit of the answer. 
Result so far: 84.0
Subtract 3192 from 3582 to get 390.
Take the next digit (4) from the dividend and append it to 390, then repeat: 3904 / 798

Advancing to step 6:
If we divide 3904 by 798, we get 4 and a remainder of 712.
Put 4 as the next digit of the answer. 
Result so far: 844.0
Subtracting 3192 from 3904 leaves us with 712.
Take the next digit (9) from the dividend and append it to 712, then repeat: 7129 / 798

Let's proceed to step 7:
The number 798 fits into 7129 8 times, leaving a remainder of 745.
Use 8 as the next digit of our solution. 
Result so far: 8448.0
If we take 6384 away from 7129, we end up with 745.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7450, and continue the process.

Moving on to step 8:
798 goes into 7450 9 times with a remainder of 268.
The next digit of our result is 9. 
Result so far: 8448.9
If we take 7182 away from 7450, we end up with 268.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2680, and continue the process.

Going ahead to step 9:
2680 divided by 798 is 3 with a remainder of 286.
Use 3 as the next digit of our solution. 
Result so far: 8448.93
The remainder is 286 after subtracting 2394 from 2680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2860, and continue the process.

On to step 10:
If we divide 2860 by 798, we get 3 and a remainder of 466.
The number 3 becomes the next digit in our result. 
Result so far: 8448.933
Subtract 2394 from 2860 to get 466.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4660, and continue the process.

The final outcome is 8448.933, with a leftover of 0.0466.