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

On to step 1:
42 can be fit into 6 0 times, resulting in a remainder of 6.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Fetch the next digit (4) from the dividend, attach it to 6 and continue: 64 / 42

Going ahead to step 2:
42 can be fit into 64 1 times, resulting in a remainder of 22.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 42 from 64, we get 22.
Fetch the next digit (2) from the dividend, attach it to 22 and continue: 222 / 42

Going ahead to step 3:
When dividing 222 by 42, we get 5 with a remainder of 12.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
If we take 210 away from 222, we end up with 12.
Fetch the next digit (1) from the dividend, attach it to 12 and continue: 121 / 42

Advancing to step 4:
When dividing 121 by 42, we get 2 with a remainder of 37.
Put 2 as the next digit of the answer. 
Result so far: 152.0
If we subtract 84 from 121, we get 37.
Take the next digit (7) from the dividend and append it to 37, then repeat: 377 / 42

Advancing to step 5:
42 goes into 377 8 times with a remainder of 41.
Record the quotient 8 as the next digit in the result. 
Result so far: 1528.0
The remainder is 41 after subtracting 336 from 377.
Grab the next digit (9) from the dividend, add it to 41, then carry on: 419 / 42

Step 6:
42 can be fit into 419 9 times, resulting in a remainder of 41.
Put 9 as the next digit of the answer. 
Result so far: 15289.0
If we subtract 378 from 419, we get 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Advancing to step 7:
When dividing 410 by 42, we get 9 with a remainder of 32.
Record the quotient 9 as the next digit in the result. 
Result so far: 15289.9
The remainder is 32 after subtracting 378 from 410.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 8:
320 divided by 42 is 7 with a remainder of 26.
The number 7 becomes the next digit in our result. 
Result so far: 15289.97
Subtract 294 from 320 to 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.

On to step 9:
260 divided by 42 is 6 with a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 15289.976
Subtracting 252 from 260 leaves us 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.

Step 10:
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: 15289.9761
If we subtract 42 from 80, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Going ahead to step 11:
The number 42 fits into 380 9 times, leaving a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 15289.97619
If we take 378 away from 380, we end up 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.

Advancing to step 12:
When dividing 20 by 42, we get 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 15289.97619
If we subtract 0 from 20, we 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.

Going ahead to step 13:
The number 42 fits into 200 4 times, leaving a remainder of 32.
Put 4 as the next digit of the answer. 
Result so far: 15289.9761904
Subtracting 168 from 200 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 14:
42 goes into 320 7 times with a remainder of 26.
Record the quotient 7 as the next digit in the result. 
Result so far: 15289.97619047
Deduct 294 from 320 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

In conclusion, the division gives 15289.97619047 with a balance of 2.6e-08.