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

Let's proceed to step 1:
5 divided by 42 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (3) of the dividend behind the 5 and repeat the process: 53 / 42

Going ahead to step 2:
If we divide 53 by 42, we get 1 and a remainder of 11.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 42 away from 53, we end up with 11.
Grab the next digit (0) from the dividend, add it to 11, then carry on: 110 / 42

Moving on to step 3:
If we divide 110 by 42, we get 2 and a remainder of 26.
The next digit of our result is 2. 
Result so far: 12.0
Subtract 84 from 110 to get 26.
Grab the next digit (5) from the dividend, add it to 26, then carry on: 265 / 42

Moving on to step 4:
The number 42 fits into 265 6 times, leaving a remainder of 13.
Use 6 as the next digit of our solution. 
Result so far: 126.0
Deduct 252 from 265 and we're left with 13.
Take the next digit (8) from the dividend and append it to 13, then repeat: 138 / 42

On to step 5:
42 goes into 138 3 times with a remainder of 12.
The next digit of our result is 3. 
Result so far: 1263.0
The remainder is 12 after subtracting 126 from 138.
Bring next digit (8) of the dividend behind the 12 and repeat the process: 128 / 42

Advancing to step 6:
The number 42 fits into 128 3 times, leaving a remainder of 2.
The number 3 becomes the next digit in our result. 
Result so far: 12633.0
If we take 126 away from 128, we end up 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 7:
When dividing 20 by 42, we get 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 12633.0
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.

Going ahead to step 8:
If we divide 200 by 42, we get 4 and a remainder of 32.
The next digit of our result is 4. 
Result so far: 12633.04
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.

Moving on to step 9:
320 divided by 42 is 7 with a remainder of 26.
Put 7 as the next digit of the answer. 
Result so far: 12633.047
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.

Moving on to step 10:
260 divided by 42 is 6 with a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 12633.0476
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.

Step 11:
42 goes into 80 1 times with a remainder of 38.
Put 1 as the next digit of the answer. 
Result so far: 12633.04761
The remainder is 38 after subtracting 42 from 80.
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 12:
42 goes into 380 9 times with a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 12633.047619
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.

Let's proceed to step 13:
If we divide 20 by 42, we get 0 and a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 12633.047619
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 14:
42 goes into 200 4 times with a remainder of 32.
Put 4 as the next digit of the answer. 
Result so far: 12633.04761904
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.

The quotient of the division is 12633.04761904, and the remainder is 3.2e-08.