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

On to step 1:
42 goes into 5 0 times with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (9) of the dividend behind the 5 and repeat the process: 59 / 42

Moving on to step 2:
42 goes into 59 1 times with a remainder of 17.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 42 from 59 to get 17.
Fetch the next digit (3) from the dividend, attach it to 17 and continue: 173 / 42

Let's proceed to step 3:
173 divided by 42 is 4 with a remainder of 5.
Write down 4 as next digit of the result. 
Result so far: 14.0
The remainder is 5 after subtracting 168 from 173.
Include the next digit (6) from the dividend after 5, then repeat: 56 / 42

Advancing to step 4:
If we divide 56 by 42, we get 1 and a remainder of 14.
Write down 1 as next digit of the result. 
Result so far: 141.0
If we subtract 42 from 56, we get 14.
Include the next digit (6) from the dividend after 14, then repeat: 146 / 42

Advancing to step 5:
The number 42 fits into 146 3 times, leaving a remainder of 20.
The number 3 becomes the next digit in our result. 
Result so far: 1413.0
If we take 126 away from 146, we end up with 20.
Take the next digit (0) from the dividend and append it to 20, then repeat: 200 / 42

On to step 6:
200 divided by 42 is 4 with a remainder of 32.
The next digit of our result is 4. 
Result so far: 14134.0
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.

Step 7:
When dividing 320 by 42, we get 7 with a remainder of 26.
Put 7 as the next digit of the answer. 
Result so far: 14134.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.

Going ahead to step 8:
When dividing 260 by 42, we get 6 with a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 14134.76
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.

Moving on to step 9:
80 divided by 42 is 1 with a remainder of 38.
The number 1 becomes the next digit in our result. 
Result so far: 14134.761
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 10:
When dividing 380 by 42, we get 9 with a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 14134.7619
Subtract 378 from 380 to get 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 11:
42 goes into 20 0 times with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 14134.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.

Going ahead to step 12:
When dividing 200 by 42, we get 4 with a remainder of 32.
Put 4 as the next digit of the answer. 
Result so far: 14134.761904
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.

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

Advancing to step 14:
42 can be fit into 260 6 times, resulting in a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 14134.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.

Our division results in 14134.76190476 with a remaining 8e-09.