168838 ÷ 42 
The aim is to understand the frequency of 42 in 168838.

Step 1:
When dividing 1 by 42, we get 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 42

Going ahead to step 2:
42 goes into 16 0 times with a remainder of 16.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 16 to get 16.
Fetch the next digit (8) from the dividend, attach it to 16 and continue: 168 / 42

Moving on to step 3:
If we divide 168 by 42, we get 4 and a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
The remainder is 0 after subtracting 168 from 168.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 42

Step 4:
When dividing 8 by 42, we get 0 with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 40.0
Subtracting 0 from 8 leaves us with 8.
Include the next digit (3) from the dividend after 8, then repeat: 83 / 42

Advancing to step 5:
When dividing 83 by 42, we get 1 with a remainder of 41.
Record the quotient 1 as the next digit in the result. 
Result so far: 401.0
If we subtract 42 from 83, we get 41.
Grab the next digit (8) from the dividend, add it to 41, then carry on: 418 / 42

Going ahead to step 6:
The number 42 fits into 418 9 times, leaving a remainder of 40.
The next digit of our result is 9. 
Result so far: 4019.0
If we take 378 away from 418, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 7:
42 can be fit into 400 9 times, resulting in a remainder of 22.
Put 9 as the next digit of the answer. 
Result so far: 4019.9
If we take 378 away from 400, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 8:
If we divide 220 by 42, we get 5 and a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 4019.95
If we take 210 away from 220, 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.

Moving on to step 9:
42 can be fit into 100 2 times, resulting in a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 4019.952
Deduct 84 from 100 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.

Advancing to step 10:
If we divide 160 by 42, we get 3 and a remainder of 34.
Write down 3 as next digit of the result. 
Result so far: 4019.9523
Deduct 126 from 160 and we're left 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 11:
42 can be fit into 340 8 times, resulting in a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 4019.95238
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.

Advancing to step 12:
The number 42 fits into 40 0 times, leaving a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 4019.95238
If we subtract 0 from 40, we 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.

Advancing to step 13:
When dividing 400 by 42, we get 9 with a remainder of 22.
Record the quotient 9 as the next digit in the result. 
Result so far: 4019.9523809
Subtracting 378 from 400 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 14:
If we divide 220 by 42, we get 5 and a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 4019.95238095
Subtract 210 from 220 to 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.

Our division results in 4019.95238095 with a remaining 1e-08.