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

On to step 1:
42 goes into 3 0 times with 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.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 42

Moving on to step 2:
If we divide 31 by 42, we get 0 and a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Bring next digit (3) of the dividend behind the 31 and repeat the process: 313 / 42

Advancing to step 3:
42 can be fit into 313 7 times, resulting in a remainder of 19.
The next digit of our result is 7. 
Result so far: 7.0
If we take 294 away from 313, we end up with 19.
Take the next digit (3) from the dividend and append it to 19, then repeat: 193 / 42

Let's proceed to step 4:
42 can be fit into 193 4 times, resulting in a remainder of 25.
Record the quotient 4 as the next digit in the result. 
Result so far: 74.0
Deduct 168 from 193 and we're left with 25.
Grab the next digit (9) from the dividend, add it to 25, then carry on: 259 / 42

Moving on to step 5:
If we divide 259 by 42, we get 6 and a remainder of 7.
The next digit of our result is 6. 
Result so far: 746.0
Subtract 252 from 259 to get 7.
Append the next digit (9) from the dividend to 7 and continue with: 79 / 42

Going ahead to step 6:
If we divide 79 by 42, we get 1 and a remainder of 37.
The number 1 becomes the next digit in our result. 
Result so far: 7461.0
Subtract 42 from 79 to get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Let's proceed to step 7:
42 goes into 370 8 times with a remainder of 34.
Put 8 as the next digit of the answer. 
Result so far: 7461.8
Deduct 336 from 370 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.

Step 8:
340 divided by 42 is 8 with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 7461.88
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.

Our division results in 7461.88 with a remaining 0.004.