Let's divide 838694 by 42
The aim is to understand the frequency of 42 in 838694.

Going ahead to step 1:
42 goes into 8 0 times with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Bring next digit (3) of the dividend behind the 8 and repeat the process: 83 / 42

Going ahead to step 2:
When dividing 83 by 42, we get 1 with a remainder of 41.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 42 from 83 to get 41.
Bring next digit (8) of the dividend behind the 41 and repeat the process: 418 / 42

Let's proceed to step 3:
42 can be fit into 418 9 times, resulting in a remainder of 40.
The number 9 becomes the next digit in our result. 
Result so far: 19.0
If we subtract 378 from 418, we get 40.
Grab the next digit (6) from the dividend, add it to 40, then carry on: 406 / 42

Let's proceed to step 4:
406 divided by 42 is 9 with a remainder of 28.
Write down 9 as next digit of the result. 
Result so far: 199.0
The remainder is 28 after subtracting 378 from 406.
Bring next digit (9) of the dividend behind the 28 and repeat the process: 289 / 42

Let's proceed to step 5:
If we divide 289 by 42, we get 6 and a remainder of 37.
Write down 6 as next digit of the result. 
Result so far: 1996.0
The remainder is 37 after subtracting 252 from 289.
Fetch the next digit (4) from the dividend, attach it to 37 and continue: 374 / 42

Advancing to step 6:
374 divided by 42 is 8 with a remainder of 38.
The next digit of our result is 8. 
Result so far: 19968.0
Deduct 336 from 374 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Let's proceed to step 7:
The number 42 fits into 380 9 times, leaving a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 19968.9
Deduct 378 from 380 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 8:
42 goes into 20 0 times with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 19968.9
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 9:
When dividing 200 by 42, we get 4 with a remainder of 32.
The number 4 becomes the next digit in our result. 
Result so far: 19968.904
If we subtract 168 from 200, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 10:
When dividing 320 by 42, we get 7 with a remainder of 26.
Put 7 as the next digit of the answer. 
Result so far: 19968.9047
If we subtract 294 from 320, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 11:
42 can be fit into 260 6 times, resulting in a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 19968.90476
If we take 252 away from 260, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 12:
If we divide 80 by 42, we get 1 and a remainder of 38.
The next digit of our result is 1. 
Result so far: 19968.904761
If we take 42 away from 80, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 13:
42 can be fit into 380 9 times, resulting in a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 19968.9047619
Subtracting 378 from 380 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 14:
If we divide 20 by 42, we get 0 and a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 19968.9047619
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The final outcome is 19968.9047619, with a leftover of 2e-08.