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

Advancing to step 1:
42 goes into 1 0 times with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Append the next digit (2) from the dividend to 1 and continue with: 12 / 42

Step 2:
12 divided by 42 is 0 with a remainder of 12.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 12, we get 12.
Fetch the next digit (3) from the dividend, attach it to 12 and continue: 123 / 42

Advancing to step 3:
When dividing 123 by 42, we get 2 with a remainder of 39.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 84 from 123 leaves us with 39.
Fetch the next digit (2) from the dividend, attach it to 39 and continue: 392 / 42

Moving on to step 4:
If we divide 392 by 42, we get 9 and a remainder of 14.
Put 9 as the next digit of the answer. 
Result so far: 29.0
If we subtract 378 from 392, we get 14.
Bring next digit (3) of the dividend behind the 14 and repeat the process: 143 / 42

Going ahead to step 5:
42 goes into 143 3 times with a remainder of 17.
Use 3 as the next digit of our solution. 
Result so far: 293.0
Deduct 126 from 143 and we're left with 17.
Include the next digit (9) from the dividend after 17, then repeat: 179 / 42

Going ahead to step 6:
If we divide 179 by 42, we get 4 and a remainder of 11.
Record the quotient 4 as the next digit in the result. 
Result so far: 2934.0
If we subtract 168 from 179, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 7:
42 goes into 110 2 times with a remainder of 26.
The next digit of our result is 2. 
Result so far: 2934.2
Subtract 84 from 110 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.

Step 8:
The number 42 fits into 260 6 times, leaving a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 2934.26
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.

Advancing to step 9:
The number 42 fits into 80 1 times, leaving a remainder of 38.
Write down 1 as next digit of the result. 
Result so far: 2934.261
If we take 42 away from 80, we end up with 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 10:
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: 2934.2619
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.

Going ahead to step 11:
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: 2934.2619
Subtracting 0 from 20 leaves us 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.

On to step 12:
200 divided by 42 is 4 with a remainder of 32.
Put 4 as the next digit of the answer. 
Result so far: 2934.261904
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 13:
If we divide 320 by 42, we get 7 and a remainder of 26.
The number 7 becomes the next digit in our result. 
Result so far: 2934.2619047
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.

Let's proceed to step 14:
260 divided by 42 is 6 with a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 2934.26190476
The remainder is 8 after subtracting 252 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The quotient of the division is 2934.26190476, and the remainder is 8e-09.