We look at the division of 259941 by 42 
The aim is to understand the frequency of 42 in 259941.

Moving on to step 1:
The number 42 fits into 2 0 times, leaving a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Append the next digit (5) from the dividend to 2 and continue with: 25 / 42

Step 2:
42 can be fit into 25 0 times, resulting in a remainder of 25.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 25, we get 25.
Include the next digit (9) from the dividend after 25, then repeat: 259 / 42

Let's proceed to step 3:
42 goes into 259 6 times with a remainder of 7.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
The remainder is 7 after subtracting 252 from 259.
Include the next digit (9) from the dividend after 7, then repeat: 79 / 42

Step 4:
When dividing 79 by 42, we get 1 with a remainder of 37.
Write down 1 as next digit of the result. 
Result so far: 61.0
Subtracting 42 from 79 leaves us with 37.
Include the next digit (4) from the dividend after 37, then repeat: 374 / 42

On to step 5:
374 divided by 42 is 8 with a remainder of 38.
Write down 8 as next digit of the result. 
Result so far: 618.0
Deduct 336 from 374 and we're left with 38.
Include the next digit (1) from the dividend after 38, then repeat: 381 / 42

Moving on to step 6:
42 can be fit into 381 9 times, resulting in a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 6189.0
Subtracting 378 from 381 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 7:
If we divide 30 by 42, we get 0 and a remainder of 30.
The next digit of our result is 0. 
Result so far: 6189.0
Deduct 0 from 30 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 8:
300 divided by 42 is 7 with a remainder of 6.
Write down 7 as next digit of the result. 
Result so far: 6189.07
The remainder is 6 after subtracting 294 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 9:
The number 42 fits into 60 1 times, leaving a remainder of 18.
The number 1 becomes the next digit in our result. 
Result so far: 6189.071
If we subtract 42 from 60, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 10:
If we divide 180 by 42, we get 4 and a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 6189.0714
Subtracting 168 from 180 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 11:
120 divided by 42 is 2 with a remainder of 36.
Write down 2 as next digit of the result. 
Result so far: 6189.07142
If we subtract 84 from 120, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 12:
42 can be fit into 360 8 times, resulting in a remainder of 24.
Write down 8 as next digit of the result. 
Result so far: 6189.071428
If we subtract 336 from 360, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 13:
When dividing 240 by 42, we get 5 with a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 6189.0714285
If we take 210 away from 240, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 14:
The number 42 fits into 300 7 times, leaving a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 6189.07142857
If we take 294 away from 300, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The quotient of the division is 6189.07142857, and the remainder is 6e-09.