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

Going ahead to step 1:
42 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Take the next digit (6) from the dividend and append it to 5, then repeat: 56 / 42

Advancing to step 2:
42 can be fit into 56 1 times, resulting in a remainder of 14.
The next digit of our result is 1. 
Result so far: 1.0
If we take 42 away from 56, we end up with 14.
Grab the next digit (3) from the dividend, add it to 14, then carry on: 143 / 42

On to step 3:
If we divide 143 by 42, we get 3 and a remainder of 17.
Use 3 as the next digit of our solution. 
Result so far: 13.0
Subtract 126 from 143 to get 17.
Bring next digit (9) of the dividend behind the 17 and repeat the process: 179 / 42

Step 4:
The number 42 fits into 179 4 times, leaving a remainder of 11.
Record the quotient 4 as the next digit in the result. 
Result so far: 134.0
Deduct 168 from 179 and we're left with 11.
Include the next digit (0) from the dividend after 11, then repeat: 110 / 42

Step 5:
42 goes into 110 2 times with a remainder of 26.
Use 2 as the next digit of our solution. 
Result so far: 1342.0
Subtract 84 from 110 to get 26.
Grab the next digit (1) from the dividend, add it to 26, then carry on: 261 / 42

Let's proceed to step 6:
42 goes into 261 6 times with a remainder of 9.
Record the quotient 6 as the next digit in the result. 
Result so far: 13426.0
The remainder is 9 after subtracting 252 from 261.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 7:
42 goes into 90 2 times with a remainder of 6.
The next digit of our result is 2. 
Result so far: 13426.2
Deduct 84 from 90 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 8:
42 can be fit into 60 1 times, resulting in a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 13426.21
If we subtract 42 from 60, 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.

Going ahead to step 9:
When dividing 180 by 42, we get 4 with a remainder of 12.
The next digit of our result is 4. 
Result so far: 13426.214
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.

Step 10:
42 goes into 120 2 times with a remainder of 36.
Use 2 as the next digit of our solution. 
Result so far: 13426.2142
If we take 84 away from 120, we end up 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.

On to step 11:
When dividing 360 by 42, we get 8 with a remainder of 24.
Put 8 as the next digit of the answer. 
Result so far: 13426.21428
Subtract 336 from 360 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 12:
If we divide 240 by 42, we get 5 and a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 13426.214285
Subtracting 210 from 240 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 13:
If we divide 300 by 42, we get 7 and a remainder of 6.
Record the quotient 7 as the next digit in the result. 
Result so far: 13426.2142857
If we take 294 away from 300, we end up with 6.
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 14:
The number 42 fits into 60 1 times, leaving a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 13426.21428571
Subtract 42 from 60 to 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.

The final outcome is 13426.21428571, with a leftover of 1.8e-08.