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

Advancing to step 1:
42 can be fit into 1 0 times, resulting in a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Include the next digit (0) from the dividend after 1, then repeat: 10 / 42

Step 2:
If we divide 10 by 42, we get 0 and a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 10 leaves us with 10.
Include the next digit (0) from the dividend after 10, then repeat: 100 / 42

Step 3:
42 goes into 100 2 times with a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we take 84 away from 100, we end up with 16.
Include the next digit (3) from the dividend after 16, then repeat: 163 / 42

Step 4:
The number 42 fits into 163 3 times, leaving a remainder of 37.
The number 3 becomes the next digit in our result. 
Result so far: 23.0
The remainder is 37 after subtracting 126 from 163.
Append the next digit (9) from the dividend to 37 and continue with: 379 / 42

Step 5:
42 can be fit into 379 9 times, resulting in a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 239.0
Subtracting 378 from 379 leaves us with 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 42

Advancing to step 6:
When dividing 16 by 42, we get 0 with a remainder of 16.
The next digit of our result is 0. 
Result so far: 2390.0
Subtracting 0 from 16 leaves us 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.

Moving on to step 7:
160 divided by 42 is 3 with a remainder of 34.
Put 3 as the next digit of the answer. 
Result so far: 2390.3
Subtracting 126 from 160 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 8:
340 divided by 42 is 8 with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 2390.38
The remainder is 4 after subtracting 336 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 9:
If we divide 40 by 42, we get 0 and a remainder of 40.
The next digit of our result is 0. 
Result so far: 2390.38
Subtract 0 from 40 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 10:
400 divided by 42 is 9 with a remainder of 22.
Write down 9 as next digit of the result. 
Result so far: 2390.3809
The remainder is 22 after subtracting 378 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 11:
220 divided by 42 is 5 with a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 2390.38095
If we subtract 210 from 220, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 12:
100 divided by 42 is 2 with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 2390.380952
Subtracting 84 from 100 leaves us 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 13:
When dividing 160 by 42, we get 3 with a remainder of 34.
Record the quotient 3 as the next digit in the result. 
Result so far: 2390.3809523
If we take 126 away from 160, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Let's proceed to step 14:
340 divided by 42 is 8 with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 2390.38095238
Deduct 336 from 340 and we're left 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.

After the division, we end up with 2390.38095238 and a remainder of 4e-09.