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

On to step 1:
The number 24 fits into 9 0 times, leaving a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Take the next digit (4) from the dividend and append it to 9, then repeat: 94 / 24

On to step 2:
If we divide 94 by 24, we get 3 and a remainder of 22.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtracting 72 from 94 leaves us with 22.
Append the next digit (0) from the dividend to 22 and continue with: 220 / 24

Advancing to step 3:
The number 24 fits into 220 9 times, leaving a remainder of 4.
Write down 9 as next digit of the result. 
Result so far: 39.0
Deduct 216 from 220 and we're left with 4.
Take the next digit (7) from the dividend and append it to 4, then repeat: 47 / 24

Going ahead to step 4:
47 divided by 24 is 1 with a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 391.0
If we take 24 away from 47, we end up with 23.
Bring next digit (3) of the dividend behind the 23 and repeat the process: 233 / 24

Step 5:
When dividing 233 by 24, we get 9 with a remainder of 17.
Use 9 as the next digit of our solution. 
Result so far: 3919.0
The remainder is 17 after subtracting 216 from 233.
Include the next digit (8) from the dividend after 17, then repeat: 178 / 24

On to step 6:
The number 24 fits into 178 7 times, leaving a remainder of 10.
The next digit of our result is 7. 
Result so far: 39197.0
The remainder is 10 after subtracting 168 from 178.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 7:
The number 24 fits into 100 4 times, leaving a remainder of 4.
The next digit of our result is 4. 
Result so far: 39197.4
The remainder is 4 after subtracting 96 from 100.
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 8:
When dividing 40 by 24, we get 1 with a remainder of 16.
The number 1 becomes the next digit in our result. 
Result so far: 39197.41
If we take 24 away from 40, 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:
24 goes into 160 6 times with a remainder of 16.
The next digit of our result is 6. 
Result so far: 39197.416
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.

Going ahead to step 10:
The number 24 fits into 160 6 times, leaving a remainder of 16.
Write down 6 as next digit of the result. 
Result so far: 39197.4166
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.

The quotient of the division is 39197.4166, and the remainder is 0.00016.