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

Going ahead 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.
Include the next digit (9) from the dividend after 5, then repeat: 59 / 42

Moving on to step 2:
When dividing 59 by 42, we get 1 with a remainder of 17.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 42 from 59 to get 17.
Bring next digit (7) of the dividend behind the 17 and repeat the process: 177 / 42

Moving on to step 3:
The number 42 fits into 177 4 times, leaving a remainder of 9.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
If we subtract 168 from 177, we get 9.
Append the next digit (5) from the dividend to 9 and continue with: 95 / 42

Moving on to step 4:
If we divide 95 by 42, we get 2 and a remainder of 11.
Use 2 as the next digit of our solution. 
Result so far: 142.0
If we take 84 away from 95, we end up with 11.
Bring next digit (3) of the dividend behind the 11 and repeat the process: 113 / 42

On to step 5:
42 goes into 113 2 times with a remainder of 29.
Write down 2 as next digit of the result. 
Result so far: 1422.0
If we take 84 away from 113, we end up with 29.
Append the next digit (3) from the dividend to 29 and continue with: 293 / 42

Advancing to step 6:
If we divide 293 by 42, we get 6 and a remainder of 41.
Use 6 as the next digit of our solution. 
Result so far: 14226.0
The remainder is 41 after subtracting 252 from 293.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

On to step 7:
When dividing 410 by 42, we get 9 with a remainder of 32.
The next digit of our result is 9. 
Result so far: 14226.9
If we subtract 378 from 410, 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.

Let's proceed to step 8:
42 can be fit into 320 7 times, resulting in a remainder of 26.
Use 7 as the next digit of our solution. 
Result so far: 14226.97
If we take 294 away from 320, we end up 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.

Moving on to step 9:
The number 42 fits into 260 6 times, leaving a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 14226.976
If we take 252 away from 260, we end up 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 10:
42 can be fit into 80 1 times, resulting in a remainder of 38.
Put 1 as the next digit of the answer. 
Result so far: 14226.9761
Subtract 42 from 80 to get 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 11:
42 can be fit into 380 9 times, resulting in a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 14226.97619
Deduct 378 from 380 and we're left 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.

Advancing to step 12:
If we divide 20 by 42, we get 0 and a remainder of 20.
The next digit of our result is 0. 
Result so far: 14226.97619
If we take 0 away from 20, we end up 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.

Step 13:
42 can be fit into 200 4 times, resulting in a remainder of 32.
Write down 4 as next digit of the result. 
Result so far: 14226.9761904
Subtract 168 from 200 to 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.

Moving on to step 14:
The number 42 fits into 320 7 times, leaving a remainder of 26.
Use 7 as the next digit of our solution. 
Result so far: 14226.97619047
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.

After the division, we end up with 14226.97619047 and a remainder of 2.6e-08.