879414 divided by 42 
The aim is to understand the frequency of 42 in 879414.

Advancing 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
If we subtract 0 from 8, we get 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 42

Moving on to step 2:
87 divided by 42 is 2 with a remainder of 3.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we take 84 away from 87, we end up with 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 42

Going ahead to step 3:
42 can be fit into 39 0 times, resulting in a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 20.0
Subtract 0 from 39 to get 39.
Bring next digit (4) of the dividend behind the 39 and repeat the process: 394 / 42

Going ahead to step 4:
42 can be fit into 394 9 times, resulting in a remainder of 16.
Put 9 as the next digit of the answer. 
Result so far: 209.0
Subtracting 378 from 394 leaves us with 16.
Include the next digit (1) from the dividend after 16, then repeat: 161 / 42

Going ahead to step 5:
42 goes into 161 3 times with a remainder of 35.
The next digit of our result is 3. 
Result so far: 2093.0
If we take 126 away from 161, we end up with 35.
Take the next digit (4) from the dividend and append it to 35, then repeat: 354 / 42

Going ahead to step 6:
42 goes into 354 8 times with a remainder of 18.
Use 8 as the next digit of our solution. 
Result so far: 20938.0
Deduct 336 from 354 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 7:
The number 42 fits into 180 4 times, leaving a remainder of 12.
The next digit of our result is 4. 
Result so far: 20938.4
If we take 168 away from 180, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 8:
42 goes into 120 2 times with a remainder of 36.
Use 2 as the next digit of our solution. 
Result so far: 20938.42
The remainder is 36 after subtracting 84 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

On to step 9:
If we divide 360 by 42, we get 8 and a remainder of 24.
Record the quotient 8 as the next digit in the result. 
Result so far: 20938.428
The remainder is 24 after subtracting 336 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 10:
42 can be fit into 240 5 times, resulting in a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 20938.4285
Deduct 210 from 240 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 11:
The number 42 fits into 300 7 times, leaving a remainder of 6.
Write down 7 as next digit of the result. 
Result so far: 20938.42857
If we subtract 294 from 300, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 12:
When dividing 60 by 42, we get 1 with a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 20938.428571
If we take 42 away from 60, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 13:
42 can be fit into 180 4 times, resulting in a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 20938.4285714
If we take 168 away from 180, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 14:
42 goes into 120 2 times with a remainder of 36.
Record the quotient 2 as the next digit in the result. 
Result so far: 20938.42857142
The remainder is 36 after subtracting 84 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

After the division, we end up with 20938.42857142 and a remainder of 3.6e-08.