We divide 789984 by 42
The aim is to understand the frequency of 42 in 789984.

Going ahead to step 1:
42 goes into 7 0 times with a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Include the next digit (8) from the dividend after 7, then repeat: 78 / 42

Moving on to step 2:
42 can be fit into 78 1 times, resulting in a remainder of 36.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 36 after subtracting 42 from 78.
Fetch the next digit (9) from the dividend, attach it to 36 and continue: 369 / 42

Moving on to step 3:
42 can be fit into 369 8 times, resulting in a remainder of 33.
Put 8 as the next digit of the answer. 
Result so far: 18.0
Subtract 336 from 369 to get 33.
Bring next digit (9) of the dividend behind the 33 and repeat the process: 339 / 42

Moving on to step 4:
If we divide 339 by 42, we get 8 and a remainder of 3.
Write down 8 as next digit of the result. 
Result so far: 188.0
Deduct 336 from 339 and we're left with 3.
Take the next digit (8) from the dividend and append it to 3, then repeat: 38 / 42

Let's proceed to step 5:
42 can be fit into 38 0 times, resulting in a remainder of 38.
Write down 0 as next digit of the result. 
Result so far: 1880.0
Deduct 0 from 38 and we're left with 38.
Take the next digit (4) from the dividend and append it to 38, then repeat: 384 / 42

Advancing to step 6:
42 can be fit into 384 9 times, resulting in a remainder of 6.
Use 9 as the next digit of our solution. 
Result so far: 18809.0
If we subtract 378 from 384, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 7:
60 divided by 42 is 1 with a remainder of 18.
The number 1 becomes the next digit in our result. 
Result so far: 18809.1
Subtract 42 from 60 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 8:
If we divide 180 by 42, we get 4 and a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 18809.14
Deduct 168 from 180 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.

On to step 9:
120 divided by 42 is 2 with a remainder of 36.
The number 2 becomes the next digit in our result. 
Result so far: 18809.142
If we take 84 away from 120, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 10:
360 divided by 42 is 8 with a remainder of 24.
The next digit of our result is 8. 
Result so far: 18809.1428
Subtract 336 from 360 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 11:
If we divide 240 by 42, we get 5 and a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 18809.14285
Subtracting 210 from 240 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 12:
If we divide 300 by 42, we get 7 and a remainder of 6.
Put 7 as the next digit of the answer. 
Result so far: 18809.142857
Subtracting 294 from 300 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 13:
The number 42 fits into 60 1 times, leaving a remainder of 18.
The number 1 becomes the next digit in our result. 
Result so far: 18809.1428571
Subtracting 42 from 60 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 14:
If we divide 180 by 42, we get 4 and a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 18809.14285714
If we take 168 away from 180, we end up 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.

The quotient of the division is 18809.14285714, and the remainder is 1.2e-08.