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

Step 1:
42 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 42

Step 2:
If we divide 36 by 42, we get 0 and a remainder of 36.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 36 to get 36.
Bring next digit (8) of the dividend behind the 36 and repeat the process: 368 / 42

Step 3:
42 can be fit into 368 8 times, resulting in a remainder of 32.
Put 8 as the next digit of the answer. 
Result so far: 8.0
If we subtract 336 from 368, we get 32.
Include the next digit (2) from the dividend after 32, then repeat: 322 / 42

On to step 4:
If we divide 322 by 42, we get 7 and a remainder of 28.
The number 7 becomes the next digit in our result. 
Result so far: 87.0
The remainder is 28 after subtracting 294 from 322.
Include the next digit (4) from the dividend after 28, then repeat: 284 / 42

Advancing to step 5:
If we divide 284 by 42, we get 6 and a remainder of 32.
Write down 6 as next digit of the result. 
Result so far: 876.0
If we take 252 away from 284, we end up with 32.
Include the next digit (8) from the dividend after 32, then repeat: 328 / 42

Moving on to step 6:
The number 42 fits into 328 7 times, leaving a remainder of 34.
The number 7 becomes the next digit in our result. 
Result so far: 8767.0
If we subtract 294 from 328, we 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.

Moving on to step 7:
When dividing 340 by 42, we get 8 with a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 8767.8
Subtracting 336 from 340 leaves us with 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:
If we divide 40 by 42, we get 0 and a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 8767.8
Deduct 0 from 40 and we're left 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.

Step 9:
The number 42 fits into 400 9 times, leaving a remainder of 22.
Use 9 as the next digit of our solution. 
Result so far: 8767.809
Deduct 378 from 400 and we're left 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.

Advancing to step 10:
42 goes into 220 5 times with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 8767.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.

On to step 11:
42 can be fit into 100 2 times, resulting in a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 8767.80952
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.

Going ahead to step 12:
42 can be fit into 160 3 times, resulting in a remainder of 34.
Write down 3 as next digit of the result. 
Result so far: 8767.809523
Deduct 126 from 160 and we're left 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.

Advancing to step 13:
If we divide 340 by 42, we get 8 and a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 8767.8095238
Deduct 336 from 340 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 14:
42 can be fit into 40 0 times, resulting in a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 8767.8095238
Deduct 0 from 40 and we're left 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.

The final outcome is 8767.8095238, with a leftover of 4e-08.