562643 ÷ 42 
The aim is to understand the frequency of 42 in 562643.

Advancing to step 1:
5 divided by 42 is 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Bring next digit (6) of the dividend behind the 5 and repeat the process: 56 / 42

Let's proceed to step 2:
When dividing 56 by 42, we get 1 with a remainder of 14.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 42 from 56 to get 14.
Take the next digit (2) from the dividend and append it to 14, then repeat: 142 / 42

Step 3:
142 divided by 42 is 3 with a remainder of 16.
Use 3 as the next digit of our solution. 
Result so far: 13.0
Subtracting 126 from 142 leaves us with 16.
Bring next digit (6) of the dividend behind the 16 and repeat the process: 166 / 42

Step 4:
The number 42 fits into 166 3 times, leaving a remainder of 40.
Put 3 as the next digit of the answer. 
Result so far: 133.0
If we subtract 126 from 166, we get 40.
Fetch the next digit (4) from the dividend, attach it to 40 and continue: 404 / 42

Advancing to step 5:
If we divide 404 by 42, we get 9 and a remainder of 26.
Use 9 as the next digit of our solution. 
Result so far: 1339.0
If we take 378 away from 404, we end up with 26.
Bring next digit (3) of the dividend behind the 26 and repeat the process: 263 / 42

Advancing to step 6:
The number 42 fits into 263 6 times, leaving a remainder of 11.
Record the quotient 6 as the next digit in the result. 
Result so far: 13396.0
Subtract 252 from 263 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 7:
The number 42 fits into 110 2 times, leaving a remainder of 26.
The next digit of our result is 2. 
Result so far: 13396.2
Deduct 84 from 110 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 8:
The number 42 fits into 260 6 times, leaving a remainder of 8.
The next digit of our result is 6. 
Result so far: 13396.26
Deduct 252 from 260 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 9:
The number 42 fits into 80 1 times, leaving a remainder of 38.
The number 1 becomes the next digit in our result. 
Result so far: 13396.261
Subtracting 42 from 80 leaves us with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 10:
380 divided by 42 is 9 with a remainder of 2.
The next digit of our result is 9. 
Result so far: 13396.2619
Subtracting 378 from 380 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 11:
When dividing 20 by 42, we get 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 13396.2619
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 12:
When dividing 200 by 42, we get 4 with a remainder of 32.
The next digit of our result is 4. 
Result so far: 13396.261904
Subtracting 168 from 200 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 13:
42 goes into 320 7 times with a remainder of 26.
Put 7 as the next digit of the answer. 
Result so far: 13396.2619047
Subtracting 294 from 320 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 14:
When dividing 260 by 42, we get 6 with a remainder of 8.
The next digit of our result is 6. 
Result so far: 13396.26190476
If we subtract 252 from 260, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The final outcome is 13396.26190476, with a leftover of 8e-09.