We divide 338917 by 42
The aim is to understand the frequency of 42 in 338917.

Let's proceed to step 1:
The number 42 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 42

Step 2:
The number 42 fits into 33 0 times, leaving a remainder of 33.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 33 leaves us with 33.
Bring next digit (8) of the dividend behind the 33 and repeat the process: 338 / 42

Advancing to step 3:
The number 42 fits into 338 8 times, leaving a remainder of 2.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
Subtract 336 from 338 to get 2.
Append the next digit (9) from the dividend to 2 and continue with: 29 / 42

Let's proceed to step 4:
29 divided by 42 is 0 with a remainder of 29.
Use 0 as the next digit of our solution. 
Result so far: 80.0
Subtract 0 from 29 to get 29.
Fetch the next digit (1) from the dividend, attach it to 29 and continue: 291 / 42

On to step 5:
42 goes into 291 6 times with a remainder of 39.
Record the quotient 6 as the next digit in the result. 
Result so far: 806.0
Deduct 252 from 291 and we're left with 39.
Take the next digit (7) from the dividend and append it to 39, then repeat: 397 / 42

Let's proceed to step 6:
If we divide 397 by 42, we get 9 and a remainder of 19.
Write down 9 as next digit of the result. 
Result so far: 8069.0
If we subtract 378 from 397, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Moving on to step 7:
190 divided by 42 is 4 with a remainder of 22.
Put 4 as the next digit of the answer. 
Result so far: 8069.4
Deduct 168 from 190 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.

On to step 8:
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: 8069.45
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 9:
If we divide 100 by 42, we get 2 and a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 8069.452
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.

Let's proceed to step 10:
42 goes into 160 3 times with a remainder of 34.
Use 3 as the next digit of our solution. 
Result so far: 8069.4523
If we take 126 away from 160, we end up 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.

Let's proceed to step 11:
If we divide 340 by 42, we get 8 and a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 8069.45238
Subtract 336 from 340 to 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.

Let's proceed to step 12:
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: 8069.45238
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 13:
400 divided by 42 is 9 with a remainder of 22.
Write down 9 as next digit of the result. 
Result so far: 8069.4523809
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.

Let's proceed to step 14:
42 can be fit into 220 5 times, resulting in a remainder of 10.
The next digit of our result is 5. 
Result so far: 8069.45238095
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.

In conclusion, the division gives 8069.45238095 with a balance of 1e-08.