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

Step 1:
42 can be fit into 8 0 times, resulting in a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Append the next digit (6) from the dividend to 8 and continue with: 86 / 42

Going ahead to step 2:
42 can be fit into 86 2 times, resulting in a remainder of 2.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 84 from 86 to get 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 42

Moving on to step 3:
42 can be fit into 21 0 times, resulting in a remainder of 21.
The next digit of our result is 0. 
Result so far: 20.0
If we subtract 0 from 21, we get 21.
Take the next digit (2) from the dividend and append it to 21, then repeat: 212 / 42

On to step 4:
212 divided by 42 is 5 with a remainder of 2.
Use 5 as the next digit of our solution. 
Result so far: 205.0
If we subtract 210 from 212, we get 2.
Fetch the next digit (1) from the dividend, attach it to 2 and continue: 21 / 42

Going ahead to step 5:
42 can be fit into 21 0 times, resulting in a remainder of 21.
Record the quotient 0 as the next digit in the result. 
Result so far: 2050.0
Subtract 0 from 21 to get 21.
Grab the next digit (3) from the dividend, add it to 21, then carry on: 213 / 42

Step 6:
When dividing 213 by 42, we get 5 with a remainder of 3.
Put 5 as the next digit of the answer. 
Result so far: 20505.0
If we take 210 away from 213, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 7:
30 divided by 42 is 0 with a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 20505.0
If we subtract 0 from 30, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 8:
If we divide 300 by 42, we get 7 and a remainder of 6.
Record the quotient 7 as the next digit in the result. 
Result so far: 20505.07
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.

On to step 9:
60 divided by 42 is 1 with a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 20505.071
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.

Let's proceed to step 10:
42 can be fit into 180 4 times, resulting in a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 20505.0714
Deduct 168 from 180 and we're left 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.

On to step 11:
When dividing 120 by 42, we get 2 with a remainder of 36.
Put 2 as the next digit of the answer. 
Result so far: 20505.07142
Deduct 84 from 120 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 12:
The number 42 fits into 360 8 times, leaving a remainder of 24.
Put 8 as the next digit of the answer. 
Result so far: 20505.071428
Deduct 336 from 360 and we're left with 24.
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 13:
240 divided by 42 is 5 with a remainder of 30.
The next digit of our result is 5. 
Result so far: 20505.0714285
The remainder is 30 after subtracting 210 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 14:
When dividing 300 by 42, we get 7 with a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 20505.07142857
Subtracting 294 from 300 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The final outcome is 20505.07142857, with a leftover of 6e-09.