798148 ÷ 24 
The aim is to understand the frequency of 24 in 798148.

Step 1:
24 can be fit into 7 0 times, resulting in a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Append the next digit (9) from the dividend to 7 and continue with: 79 / 24

Moving on to step 2:
79 divided by 24 is 3 with a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtracting 72 from 79 leaves us with 7.
Bring next digit (8) of the dividend behind the 7 and repeat the process: 78 / 24

On to step 3:
When dividing 78 by 24, we get 3 with a remainder of 6.
The next digit of our result is 3. 
Result so far: 33.0
The remainder is 6 after subtracting 72 from 78.
Fetch the next digit (1) from the dividend, attach it to 6 and continue: 61 / 24

Advancing to step 4:
If we divide 61 by 24, we get 2 and a remainder of 13.
Write down 2 as next digit of the result. 
Result so far: 332.0
Deduct 48 from 61 and we're left with 13.
Append the next digit (4) from the dividend to 13 and continue with: 134 / 24

Step 5:
134 divided by 24 is 5 with a remainder of 14.
Write down 5 as next digit of the result. 
Result so far: 3325.0
Subtracting 120 from 134 leaves us with 14.
Take the next digit (8) from the dividend and append it to 14, then repeat: 148 / 24

Going ahead to step 6:
24 goes into 148 6 times with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 33256.0
If we take 144 away from 148, we end up 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.

Advancing to step 7:
The number 24 fits into 40 1 times, leaving a remainder of 16.
Put 1 as the next digit of the answer. 
Result so far: 33256.1
Subtracting 24 from 40 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 8:
The number 24 fits into 160 6 times, leaving a remainder of 16.
Record the quotient 6 as the next digit in the result. 
Result so far: 33256.16
If we take 144 away from 160, we end up 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.

Going ahead to step 9:
160 divided by 24 is 6 with a remainder of 16.
Write down 6 as next digit of the result. 
Result so far: 33256.166
Deduct 144 from 160 and we're left 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.

Our division results in 33256.166 with a remaining 0.0016.