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

On to step 1:
When dividing 3 by 42, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Grab the next digit (7) from the dividend, add it to 3, then carry on: 37 / 42

On to step 2:
The number 42 fits into 37 0 times, leaving a remainder of 37.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 37 and we're left with 37.
Append the next digit (9) from the dividend to 37 and continue with: 379 / 42

On to step 3:
42 can be fit into 379 9 times, resulting in a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 9.0
Subtracting 378 from 379 leaves us with 1.
Fetch the next digit (3) from the dividend, attach it to 1 and continue: 13 / 42

Going ahead to step 4:
13 divided by 42 is 0 with a remainder of 13.
The next digit of our result is 0. 
Result so far: 90.0
If we take 0 away from 13, we end up with 13.
Append the next digit (9) from the dividend to 13 and continue with: 139 / 42

On to step 5:
If we divide 139 by 42, we get 3 and a remainder of 13.
The number 3 becomes the next digit in our result. 
Result so far: 903.0
If we take 126 away from 139, we end up with 13.
Include the next digit (6) from the dividend after 13, then repeat: 136 / 42

Advancing to step 6:
136 divided by 42 is 3 with a remainder of 10.
Use 3 as the next digit of our solution. 
Result so far: 9033.0
Deduct 126 from 136 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.

Step 7:
When dividing 100 by 42, we get 2 with a remainder of 16.
The next digit of our result is 2. 
Result so far: 9033.2
If we take 84 away from 100, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 8:
42 can be fit into 160 3 times, resulting in a remainder of 34.
The next digit of our result is 3. 
Result so far: 9033.23
Subtract 126 from 160 to get 34.
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 9:
340 divided by 42 is 8 with a remainder of 4.
The next digit of our result is 8. 
Result so far: 9033.238
The remainder is 4 after subtracting 336 from 340.
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 10:
When dividing 40 by 42, we get 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 9033.238
The remainder is 40 after subtracting 0 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 11:
42 can be fit into 400 9 times, resulting in a remainder of 22.
The next digit of our result is 9. 
Result so far: 9033.23809
The remainder is 22 after subtracting 378 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 12:
When dividing 220 by 42, we get 5 with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 9033.238095
Subtracting 210 from 220 leaves us 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.

On to step 13:
42 goes into 100 2 times with a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 9033.2380952
Subtracting 84 from 100 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 14:
42 goes into 160 3 times with a remainder of 34.
The number 3 becomes the next digit in our result. 
Result so far: 9033.23809523
Subtracting 126 from 160 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

The final outcome is 9033.23809523, with a leftover of 3.4e-08.