147587 divided by 42 
The aim is to understand the frequency of 42 in 147587.

On to step 1:
When dividing 1 by 42, we get 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 42

Going ahead to step 2:
The number 42 fits into 14 0 times, leaving a remainder of 14.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 14, we get 14.
Bring next digit (7) of the dividend behind the 14 and repeat the process: 147 / 42

Going ahead to step 3:
The number 42 fits into 147 3 times, leaving a remainder of 21.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we subtract 126 from 147, we get 21.
Include the next digit (5) from the dividend after 21, then repeat: 215 / 42

Advancing to step 4:
The number 42 fits into 215 5 times, leaving a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 35.0
Subtract 210 from 215 to get 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 42

On to step 5:
The number 42 fits into 58 1 times, leaving a remainder of 16.
Record the quotient 1 as the next digit in the result. 
Result so far: 351.0
Subtract 42 from 58 to get 16.
Fetch the next digit (7) from the dividend, attach it to 16 and continue: 167 / 42

Advancing to step 6:
When dividing 167 by 42, we get 3 with a remainder of 41.
The number 3 becomes the next digit in our result. 
Result so far: 3513.0
Subtract 126 from 167 to get 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Going ahead to step 7:
The number 42 fits into 410 9 times, leaving a remainder of 32.
The next digit of our result is 9. 
Result so far: 3513.9
If we take 378 away from 410, we end up 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 8:
If we divide 320 by 42, we get 7 and a remainder of 26.
Write down 7 as next digit of the result. 
Result so far: 3513.97
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.

On to step 9:
42 goes into 260 6 times with a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 3513.976
Deduct 252 from 260 and we're left 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.
Record the quotient 1 as the next digit in the result. 
Result so far: 3513.9761
If we subtract 42 from 80, we 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.

Advancing to step 11:
If we divide 380 by 42, we get 9 and a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 3513.97619
If we subtract 378 from 380, we 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.

Going ahead to step 12:
20 divided by 42 is 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 3513.97619
Subtract 0 from 20 to 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.

On to step 13:
42 can be fit into 200 4 times, resulting in a remainder of 32.
Use 4 as the next digit of our solution. 
Result so far: 3513.9761904
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.

Let's proceed to step 14:
The number 42 fits into 320 7 times, leaving a remainder of 26.
Record the quotient 7 as the next digit in the result. 
Result so far: 3513.97619047
Subtract 294 from 320 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

In conclusion, the division gives 3513.97619047 with a balance of 2.6e-08.