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

On to step 1:
7 divided by 42 is 0 with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Append the next digit (2) from the dividend to 7 and continue with: 72 / 42

Let's proceed to step 2:
The number 42 fits into 72 1 times, leaving a remainder of 30.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 42 from 72 and we're left with 30.
Append the next digit (3) from the dividend to 30 and continue with: 303 / 42

Step 3:
The number 42 fits into 303 7 times, leaving a remainder of 9.
Write down 7 as next digit of the result. 
Result so far: 17.0
Subtract 294 from 303 to get 9.
Append the next digit (8) from the dividend to 9 and continue with: 98 / 42

Let's proceed to step 4:
42 goes into 98 2 times with a remainder of 14.
The next digit of our result is 2. 
Result so far: 172.0
Subtract 84 from 98 to get 14.
Append the next digit (5) from the dividend to 14 and continue with: 145 / 42

Moving on to step 5:
145 divided by 42 is 3 with a remainder of 19.
Use 3 as the next digit of our solution. 
Result so far: 1723.0
Deduct 126 from 145 and we're left with 19.
Include the next digit (8) from the dividend after 19, then repeat: 198 / 42

Advancing to step 6:
42 can be fit into 198 4 times, resulting in a remainder of 30.
Use 4 as the next digit of our solution. 
Result so far: 17234.0
If we subtract 168 from 198, we 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.

Going ahead to step 7:
If we divide 300 by 42, we get 7 and a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 17234.7
Subtracting 294 from 300 leaves us 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.

Going ahead to step 8:
60 divided by 42 is 1 with a remainder of 18.
Put 1 as the next digit of the answer. 
Result so far: 17234.71
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.

Moving on to step 9:
42 can be fit into 180 4 times, resulting in a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 17234.714
If we take 168 away from 180, we end up 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.

On to step 10:
120 divided by 42 is 2 with a remainder of 36.
Record the quotient 2 as the next digit in the result. 
Result so far: 17234.7142
If we subtract 84 from 120, we get 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:
42 goes into 360 8 times with a remainder of 24.
Use 8 as the next digit of our solution. 
Result so far: 17234.71428
Subtracting 336 from 360 leaves us with 24.
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 12:
42 goes into 240 5 times with a remainder of 30.
Record the quotient 5 as the next digit in the result. 
Result so far: 17234.714285
Deduct 210 from 240 and we're left 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.

Going ahead to step 13:
When dividing 300 by 42, we get 7 with a remainder of 6.
Write down 7 as next digit of the result. 
Result so far: 17234.7142857
Deduct 294 from 300 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.

Moving on to step 14:
42 goes into 60 1 times with a remainder of 18.
Record the quotient 1 as the next digit in the result. 
Result so far: 17234.71428571
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.

The final result is 17234.71428571 with a remainder of 1.8e-08.