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

On to step 1:
42 goes into 5 0 times with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (6) from the dividend after 5, then repeat: 56 / 42

Going ahead 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
The remainder is 14 after subtracting 42 from 56.
Take the next digit (4) from the dividend and append it to 14, then repeat: 144 / 42

Going ahead to step 3:
If we divide 144 by 42, we get 3 and a remainder of 18.
Write down 3 as next digit of the result. 
Result so far: 13.0
If we subtract 126 from 144, we get 18.
Grab the next digit (8) from the dividend, add it to 18, then carry on: 188 / 42

Let's proceed to step 4:
The number 42 fits into 188 4 times, leaving a remainder of 20.
The number 4 becomes the next digit in our result. 
Result so far: 134.0
If we take 168 away from 188, we end up with 20.
Take the next digit (0) from the dividend and append it to 20, then repeat: 200 / 42

Advancing to step 5:
42 goes into 200 4 times with a remainder of 32.
Write down 4 as next digit of the result. 
Result so far: 1344.0
Subtract 168 from 200 to get 32.
Include the next digit (6) from the dividend after 32, then repeat: 326 / 42

Step 6:
When dividing 326 by 42, we get 7 with a remainder of 32.
Put 7 as the next digit of the answer. 
Result so far: 13447.0
Deduct 294 from 326 and we're left 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.

Moving on to step 7:
320 divided by 42 is 7 with a remainder of 26.
Write down 7 as next digit of the result. 
Result so far: 13447.7
The remainder is 26 after subtracting 294 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 8:
If we divide 260 by 42, we get 6 and a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 13447.76
Subtracting 252 from 260 leaves us 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.

On to step 9:
42 can be fit into 80 1 times, resulting in a remainder of 38.
The next digit of our result is 1. 
Result so far: 13447.761
If we take 42 away from 80, we end up 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.

Going ahead to step 10:
If we divide 380 by 42, we get 9 and a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 13447.7619
The remainder is 2 after subtracting 378 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 11:
20 divided by 42 is 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 13447.7619
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 12:
If we divide 200 by 42, we get 4 and a remainder of 32.
Use 4 as the next digit of our solution. 
Result so far: 13447.761904
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.

Advancing to step 13:
The number 42 fits into 320 7 times, leaving a remainder of 26.
The number 7 becomes the next digit in our result. 
Result so far: 13447.7619047
The remainder is 26 after subtracting 294 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 14:
The number 42 fits into 260 6 times, leaving a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 13447.76190476
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 quotient of the division is 13447.76190476, and the remainder is 8e-09.