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

On to step 1:
If we divide 5 by 42, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Take the next digit (6) from the dividend and append it to 5, then repeat: 56 / 42

Advancing to step 2:
If we divide 56 by 42, we get 1 and a remainder of 14.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 14 after subtracting 42 from 56.
Grab the next digit (8) from the dividend, add it to 14, then carry on: 148 / 42

Going ahead to step 3:
148 divided by 42 is 3 with a remainder of 22.
Put 3 as the next digit of the answer. 
Result so far: 13.0
Subtract 126 from 148 to get 22.
Bring next digit (9) of the dividend behind the 22 and repeat the process: 229 / 42

Going ahead to step 4:
When dividing 229 by 42, we get 5 with a remainder of 19.
The next digit of our result is 5. 
Result so far: 135.0
The remainder is 19 after subtracting 210 from 229.
Take the next digit (6) from the dividend and append it to 19, then repeat: 196 / 42

Advancing to step 5:
The number 42 fits into 196 4 times, leaving a remainder of 28.
The next digit of our result is 4. 
Result so far: 1354.0
Subtract 168 from 196 to get 28.
Fetch the next digit (4) from the dividend, attach it to 28 and continue: 284 / 42

On to step 6:
42 goes into 284 6 times with a remainder of 32.
Write down 6 as next digit of the result. 
Result so far: 13546.0
Deduct 252 from 284 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.

On to step 7:
When dividing 320 by 42, we get 7 with a remainder of 26.
The next digit of our result is 7. 
Result so far: 13546.7
Deduct 294 from 320 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.

Advancing to step 8:
42 can be fit into 260 6 times, resulting in a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 13546.76
The remainder is 8 after subtracting 252 from 260.
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.
Put 1 as the next digit of the answer. 
Result so far: 13546.761
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.

Step 10:
If we divide 380 by 42, we get 9 and a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 13546.7619
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.

Step 11:
20 divided by 42 is 0 with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 13546.7619
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 12:
If we divide 200 by 42, we get 4 and a remainder of 32.
The number 4 becomes the next digit in our result. 
Result so far: 13546.761904
If we subtract 168 from 200, we get 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:
42 can be fit into 320 7 times, resulting in a remainder of 26.
Put 7 as the next digit of the answer. 
Result so far: 13546.7619047
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.

Going ahead to 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: 13546.76190476
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.

In conclusion, the division gives 13546.76190476 with a balance of 8e-09.