Let's divide 395037 by 42
The aim is to understand the frequency of 42 in 395037.

Advancing to step 1:
3 divided by 42 is 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 42

Advancing to step 2:
39 divided by 42 is 0 with a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 39 leaves us with 39.
Bring next digit (5) of the dividend behind the 39 and repeat the process: 395 / 42

On to step 3:
395 divided by 42 is 9 with a remainder of 17.
The next digit of our result is 9. 
Result so far: 9.0
The remainder is 17 after subtracting 378 from 395.
Grab the next digit (0) from the dividend, add it to 17, then carry on: 170 / 42

Step 4:
42 can be fit into 170 4 times, resulting in a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 94.0
Subtracting 168 from 170 leaves us with 2.
Fetch the next digit (3) from the dividend, attach it to 2 and continue: 23 / 42

Step 5:
If we divide 23 by 42, we get 0 and a remainder of 23.
Write down 0 as next digit of the result. 
Result so far: 940.0
The remainder is 23 after subtracting 0 from 23.
Take the next digit (7) from the dividend and append it to 23, then repeat: 237 / 42

On to step 6:
42 goes into 237 5 times with a remainder of 27.
Use 5 as the next digit of our solution. 
Result so far: 9405.0
If we subtract 210 from 237, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 7:
If we divide 270 by 42, we get 6 and a remainder of 18.
Put 6 as the next digit of the answer. 
Result so far: 9405.6
If we subtract 252 from 270, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 8:
180 divided by 42 is 4 with a remainder of 12.
The next digit of our result is 4. 
Result so far: 9405.64
Subtracting 168 from 180 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 9:
42 goes into 120 2 times with a remainder of 36.
Record the quotient 2 as the next digit in the result. 
Result so far: 9405.642
Subtracting 84 from 120 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 10:
42 goes into 360 8 times with a remainder of 24.
The number 8 becomes the next digit in our result. 
Result so far: 9405.6428
The remainder is 24 after subtracting 336 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 11:
The number 42 fits into 240 5 times, leaving a remainder of 30.
The next digit of our result is 5. 
Result so far: 9405.64285
Subtract 210 from 240 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 12:
300 divided by 42 is 7 with a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 9405.642857
The remainder is 6 after subtracting 294 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 13:
42 can be fit into 60 1 times, resulting in a remainder of 18.
Put 1 as the next digit of the answer. 
Result so far: 9405.6428571
The remainder is 18 after subtracting 42 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 14:
When dividing 180 by 42, we get 4 with a remainder of 12.
The next digit of our result is 4. 
Result so far: 9405.64285714
If we subtract 168 from 180, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

The quotient of the division is 9405.64285714, and the remainder is 1.2e-08.