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

Moving on to step 1:
7 divided by 24 is 0 with a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Take the next digit (9) from the dividend and append it to 7, then repeat: 79 / 24

Advancing to step 2:
24 can be fit into 79 3 times, resulting in a remainder of 7.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtract 72 from 79 to get 7.
Bring next digit (6) of the dividend behind the 7 and repeat the process: 76 / 24

Step 3:
If we divide 76 by 24, we get 3 and a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 33.0
Subtract 72 from 76 to get 4.
Grab the next digit (8) from the dividend, add it to 4, then carry on: 48 / 24

Step 4:
48 divided by 24 is 2 with a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 332.0
Subtracting 48 from 48 leaves us with 0.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 24

On to step 5:
The number 24 fits into 7 0 times, leaving a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 3320.0
Subtracting 0 from 7 leaves us with 7.
Include the next digit (6) from the dividend after 7, then repeat: 76 / 24

Step 6:
24 goes into 76 3 times with a remainder of 4.
Write down 3 as next digit of the result. 
Result so far: 33203.0
Deduct 72 from 76 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.

Moving on to step 7:
If we divide 40 by 24, we get 1 and a remainder of 16.
Write down 1 as next digit of the result. 
Result so far: 33203.1
Subtract 24 from 40 to get 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:
160 divided by 24 is 6 with a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 33203.16
Subtracting 144 from 160 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.

Going ahead to step 9:
If we divide 160 by 24, we get 6 and a remainder of 16.
The number 6 becomes the next digit in our result. 
Result so far: 33203.166
The remainder is 16 after subtracting 144 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

After the division, we end up with 33203.166 and a remainder of 0.0016.