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

On to step 1:
42 goes into 1 0 times with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 42

Advancing to step 2:
If we divide 17 by 42, we get 0 and a remainder of 17.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 17 after subtracting 0 from 17.
Take the next digit (2) from the dividend and append it to 17, then repeat: 172 / 42

On to step 3:
If we divide 172 by 42, we get 4 and a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 4.0
The remainder is 4 after subtracting 168 from 172.
Take the next digit (1) from the dividend and append it to 4, then repeat: 41 / 42

Step 4:
The number 42 fits into 41 0 times, leaving a remainder of 41.
The number 0 becomes the next digit in our result. 
Result so far: 40.0
Deduct 0 from 41 and we're left with 41.
Bring next digit (0) of the dividend behind the 41 and repeat the process: 410 / 42

Moving on to step 5:
410 divided by 42 is 9 with a remainder of 32.
Write down 9 as next digit of the result. 
Result so far: 409.0
Subtracting 378 from 410 leaves us with 32.
Take the next digit (8) from the dividend and append it to 32, then repeat: 328 / 42

Let's proceed to step 6:
328 divided by 42 is 7 with a remainder of 34.
The next digit of our result is 7. 
Result so far: 4097.0
If we take 294 away from 328, 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.

On to step 7:
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: 4097.8
Subtracting 336 from 340 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.

Step 8:
If we divide 40 by 42, we get 0 and a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 4097.8
Subtracting 0 from 40 leaves us 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.

Going ahead to step 9:
When dividing 400 by 42, we get 9 with a remainder of 22.
Put 9 as the next digit of the answer. 
Result so far: 4097.809
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.

Step 10:
The number 42 fits into 220 5 times, leaving a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 4097.8095
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 11:
When dividing 100 by 42, we get 2 with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 4097.80952
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.

On to step 12:
The number 42 fits into 160 3 times, leaving a remainder of 34.
Use 3 as the next digit of our solution. 
Result so far: 4097.809523
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.

Moving on to step 13:
42 goes into 340 8 times with a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 4097.8095238
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.

Going ahead to step 14:
40 divided by 42 is 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 4097.8095238
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.

The quotient of the division is 4097.8095238, and the remainder is 4e-08.