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

Advancing to step 1:
If we divide 8 by 42, we get 0 and a remainder of 8.
Use 0 as the next digit of our solution. 
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

On to step 2:
The number 42 fits into 86 2 times, leaving a remainder of 2.
The next digit of our result is 2. 
Result so far: 2.0
Deduct 84 from 86 and we're left with 2.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 42

Going ahead to step 3:
21 divided by 42 is 0 with a remainder of 21.
Write down 0 as next digit of the result. 
Result so far: 20.0
Deduct 0 from 21 and we're left with 21.
Include the next digit (7) from the dividend after 21, then repeat: 217 / 42

Moving on to step 4:
When dividing 217 by 42, we get 5 with a remainder of 7.
Record the quotient 5 as the next digit in the result. 
Result so far: 205.0
Subtract 210 from 217 to get 7.
Bring next digit (8) of the dividend behind the 7 and repeat the process: 78 / 42

Step 5:
78 divided by 42 is 1 with a remainder of 36.
Use 1 as the next digit of our solution. 
Result so far: 2051.0
Subtracting 42 from 78 leaves us with 36.
Append the next digit (0) from the dividend to 36 and continue with: 360 / 42

Going ahead to step 6:
When dividing 360 by 42, we get 8 with a remainder of 24.
Put 8 as the next digit of the answer. 
Result so far: 20518.0
If we take 336 away from 360, we end up 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.

Moving on to step 7:
If we divide 240 by 42, we get 5 and a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 20518.5
If we subtract 210 from 240, 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.

Advancing to step 8:
42 goes into 300 7 times with a remainder of 6.
Put 7 as the next digit of the answer. 
Result so far: 20518.57
Deduct 294 from 300 and we're left 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.

Let's proceed to step 9:
The number 42 fits into 60 1 times, leaving a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 20518.571
Subtract 42 from 60 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 10:
42 can be fit into 180 4 times, resulting in a remainder of 12.
The next digit of our result is 4. 
Result so far: 20518.5714
The remainder is 12 after subtracting 168 from 180.
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:
If we divide 120 by 42, we get 2 and a remainder of 36.
Write down 2 as next digit of the result. 
Result so far: 20518.57142
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 12:
42 goes into 360 8 times with a remainder of 24.
Use 8 as the next digit of our solution. 
Result so far: 20518.571428
Subtracting 336 from 360 leaves us 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.

On to step 13:
240 divided by 42 is 5 with a remainder of 30.
Record the quotient 5 as the next digit in the result. 
Result so far: 20518.5714285
If we take 210 away from 240, we end up 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.

Moving on to step 14:
300 divided by 42 is 7 with a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 20518.57142857
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.

The final result is 20518.57142857 with a remainder of 6e-09.