We divide 538398 by 24
The aim is to understand the frequency of 24 in 538398.

Advancing to step 1:
When dividing 5 by 24, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (3) from the dividend, attach it to 5 and continue: 53 / 24

On to step 2:
If we divide 53 by 24, we get 2 and a remainder of 5.
Write down 2 as next digit of the result. 
Result so far: 2.0
Deduct 48 from 53 and we're left with 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 24

On to step 3:
When dividing 58 by 24, we get 2 with a remainder of 10.
Write down 2 as next digit of the result. 
Result so far: 22.0
Deduct 48 from 58 and we're left with 10.
Append the next digit (3) from the dividend to 10 and continue with: 103 / 24

Moving on to step 4:
103 divided by 24 is 4 with a remainder of 7.
Write down 4 as next digit of the result. 
Result so far: 224.0
Subtract 96 from 103 to get 7.
Bring next digit (9) of the dividend behind the 7 and repeat the process: 79 / 24

Going ahead to step 5:
When dividing 79 by 24, we get 3 with a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 2243.0
Deduct 72 from 79 and we're left with 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 24

Advancing to step 6:
24 can be fit into 78 3 times, resulting in a remainder of 6.
The next digit of our result is 3. 
Result so far: 22433.0
Subtracting 72 from 78 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 7:
When dividing 60 by 24, we get 2 with a remainder of 12.
The next digit of our result is 2. 
Result so far: 22433.2
Deduct 48 from 60 and we're left 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.

Going ahead to step 8:
If we divide 120 by 24, we get 5 and a remainder of 0.
The next digit of our result is 5. 
Result so far: 22433.25
Deduct 120 from 120 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 9:
0 divided by 24 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 22433.25
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 10:
24 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 22433.25
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 22433.25, and the remainder is 0.0.