We're dividing 565981 by 42 
The aim is to understand the frequency of 42 in 565981.

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

Step 2:
42 goes into 56 1 times with a remainder of 14.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 42 from 56, we get 14.
Include the next digit (5) from the dividend after 14, then repeat: 145 / 42

Going ahead to step 3:
42 goes into 145 3 times with a remainder of 19.
The number 3 becomes the next digit in our result. 
Result so far: 13.0
Subtracting 126 from 145 leaves us with 19.
Fetch the next digit (9) from the dividend, attach it to 19 and continue: 199 / 42

Step 4:
The number 42 fits into 199 4 times, leaving a remainder of 31.
Use 4 as the next digit of our solution. 
Result so far: 134.0
If we take 168 away from 199, we end up with 31.
Bring next digit (8) of the dividend behind the 31 and repeat the process: 318 / 42

Let's proceed to step 5:
318 divided by 42 is 7 with a remainder of 24.
The number 7 becomes the next digit in our result. 
Result so far: 1347.0
Subtract 294 from 318 to get 24.
Grab the next digit (1) from the dividend, add it to 24, then carry on: 241 / 42

Let's proceed to step 6:
When dividing 241 by 42, we get 5 with a remainder of 31.
The number 5 becomes the next digit in our result. 
Result so far: 13475.0
The remainder is 31 after subtracting 210 from 241.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Moving on to step 7:
42 goes into 310 7 times with a remainder of 16.
Record the quotient 7 as the next digit in the result. 
Result so far: 13475.7
The remainder is 16 after subtracting 294 from 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 8:
The number 42 fits into 160 3 times, leaving a remainder of 34.
The next digit of our result is 3. 
Result so far: 13475.73
Subtracting 126 from 160 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 9:
The number 42 fits into 340 8 times, leaving a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 13475.738
If we take 336 away from 340, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 10:
42 can be fit into 40 0 times, resulting in a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 13475.738
If we subtract 0 from 40, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 11:
42 can be fit into 400 9 times, resulting in a remainder of 22.
Use 9 as the next digit of our solution. 
Result so far: 13475.73809
If we take 378 away from 400, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 12:
When dividing 220 by 42, we get 5 with a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 13475.738095
If we subtract 210 from 220, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 13:
42 goes into 100 2 times with a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 13475.7380952
Subtract 84 from 100 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 14:
The number 42 fits into 160 3 times, leaving a remainder of 34.
The number 3 becomes the next digit in our result. 
Result so far: 13475.73809523
If we take 126 away from 160, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Our division results in 13475.73809523 with a remaining 3.4e-08.