We're dividing 385678 by 42 
The aim is to understand the frequency of 42 in 385678.

Step 1:
The number 42 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 42

Advancing to step 2:
When dividing 38 by 42, we get 0 with a remainder of 38.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 38, we end up with 38.
Take the next digit (5) from the dividend and append it to 38, then repeat: 385 / 42

On to step 3:
The number 42 fits into 385 9 times, leaving a remainder of 7.
The next digit of our result is 9. 
Result so far: 9.0
Subtract 378 from 385 to get 7.
Bring next digit (6) of the dividend behind the 7 and repeat the process: 76 / 42

Advancing to step 4:
76 divided by 42 is 1 with a remainder of 34.
The number 1 becomes the next digit in our result. 
Result so far: 91.0
The remainder is 34 after subtracting 42 from 76.
Bring next digit (7) of the dividend behind the 34 and repeat the process: 347 / 42

Going ahead to step 5:
The number 42 fits into 347 8 times, leaving a remainder of 11.
Write down 8 as next digit of the result. 
Result so far: 918.0
Subtracting 336 from 347 leaves us with 11.
Take the next digit (8) from the dividend and append it to 11, then repeat: 118 / 42

Advancing to step 6:
42 can be fit into 118 2 times, resulting in a remainder of 34.
Write down 2 as next digit of the result. 
Result so far: 9182.0
The remainder is 34 after subtracting 84 from 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 7:
42 goes into 340 8 times with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 9182.8
If we subtract 336 from 340, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 8:
The number 42 fits into 40 0 times, leaving a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 9182.8
Subtract 0 from 40 to 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.

Going ahead to step 9:
When dividing 400 by 42, we get 9 with a remainder of 22.
The next digit of our result is 9. 
Result so far: 9182.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.

Going ahead to step 10:
The number 42 fits into 220 5 times, leaving a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 9182.8095
Deduct 210 from 220 and we're left 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.

Going ahead to step 11:
42 goes into 100 2 times with a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 9182.80952
Subtract 84 from 100 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 12:
42 goes into 160 3 times with a remainder of 34.
Write down 3 as next digit of the result. 
Result so far: 9182.809523
The remainder is 34 after subtracting 126 from 160.
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 13:
If we divide 340 by 42, we get 8 and a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 9182.8095238
If we subtract 336 from 340, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 14:
40 divided by 42 is 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 9182.8095238
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.

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