We divide 258679 by 42
The aim is to understand the frequency of 42 in 258679.

Advancing to step 1:
When dividing 2 by 42, we get 0 with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 42

On to step 2:
42 goes into 25 0 times with a remainder of 25.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 25 after subtracting 0 from 25.
Take the next digit (8) from the dividend and append it to 25, then repeat: 258 / 42

Advancing to step 3:
42 goes into 258 6 times with a remainder of 6.
Use 6 as the next digit of our solution. 
Result so far: 6.0
Subtract 252 from 258 to get 6.
Include the next digit (6) from the dividend after 6, then repeat: 66 / 42

Advancing to step 4:
The number 42 fits into 66 1 times, leaving a remainder of 24.
Write down 1 as next digit of the result. 
Result so far: 61.0
Subtract 42 from 66 to get 24.
Include the next digit (7) from the dividend after 24, then repeat: 247 / 42

Let's proceed to step 5:
247 divided by 42 is 5 with a remainder of 37.
Write down 5 as next digit of the result. 
Result so far: 615.0
Subtract 210 from 247 to get 37.
Bring next digit (9) of the dividend behind the 37 and repeat the process: 379 / 42

Going ahead to step 6:
42 goes into 379 9 times with a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 6159.0
The remainder is 1 after subtracting 378 from 379.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
10 divided by 42 is 0 with a remainder of 10.
The next digit of our result is 0. 
Result so far: 6159.0
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 8:
The number 42 fits into 100 2 times, leaving a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 6159.02
Subtracting 84 from 100 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 9:
42 goes into 160 3 times with a remainder of 34.
The number 3 becomes the next digit in our result. 
Result so far: 6159.023
Deduct 126 from 160 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 10:
The number 42 fits into 340 8 times, leaving a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 6159.0238
Deduct 336 from 340 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 11:
If we divide 40 by 42, we get 0 and a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 6159.0238
Subtract 0 from 40 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 12:
When dividing 400 by 42, we get 9 with a remainder of 22.
Write down 9 as next digit of the result. 
Result so far: 6159.023809
Deduct 378 from 400 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 13:
220 divided by 42 is 5 with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 6159.0238095
If we subtract 210 from 220, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 14:
100 divided by 42 is 2 with a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 6159.02380952
The remainder is 16 after subtracting 84 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The quotient of the division is 6159.02380952, and the remainder is 1.6e-08.