We look at the division of 539674 by 24 
The aim is to understand the frequency of 24 in 539674.

Let's proceed to step 1:
24 can be fit into 5 0 times, resulting in 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.
Grab the next digit (3) from the dividend, add it to 5, then carry on: 53 / 24

On to step 2:
If we divide 53 by 24, we get 2 and a remainder of 5.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 5 after subtracting 48 from 53.
Fetch the next digit (9) from the dividend, attach it to 5 and continue: 59 / 24

Advancing to step 3:
If we divide 59 by 24, we get 2 and a remainder of 11.
The number 2 becomes the next digit in our result. 
Result so far: 22.0
The remainder is 11 after subtracting 48 from 59.
Take the next digit (6) from the dividend and append it to 11, then repeat: 116 / 24

On to step 4:
If we divide 116 by 24, we get 4 and a remainder of 20.
Put 4 as the next digit of the answer. 
Result so far: 224.0
Subtract 96 from 116 to get 20.
Fetch the next digit (7) from the dividend, attach it to 20 and continue: 207 / 24

Advancing to step 5:
24 can be fit into 207 8 times, resulting in a remainder of 15.
Use 8 as the next digit of our solution. 
Result so far: 2248.0
Subtract 192 from 207 to get 15.
Grab the next digit (4) from the dividend, add it to 15, then carry on: 154 / 24

Going ahead to step 6:
The number 24 fits into 154 6 times, leaving a remainder of 10.
The next digit of our result is 6. 
Result so far: 22486.0
If we take 144 away from 154, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 7:
24 can be fit into 100 4 times, resulting in a remainder of 4.
The next digit of our result is 4. 
Result so far: 22486.4
Subtracting 96 from 100 leaves us 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.

Going ahead to step 8:
24 goes into 40 1 times with a remainder of 16.
Write down 1 as next digit of the result. 
Result so far: 22486.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.

Advancing to step 9:
When dividing 160 by 24, we get 6 with a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 22486.416
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.

Going ahead to step 10:
24 can be fit into 160 6 times, resulting in a remainder of 16.
Record the quotient 6 as the next digit in the result. 
Result so far: 22486.4166
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.

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