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

Going ahead to step 1:
The number 42 fits into 8 0 times, leaving a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Take the next digit (3) from the dividend and append it to 8, then repeat: 83 / 42

Moving on to step 2:
When dividing 83 by 42, we get 1 with a remainder of 41.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 42 away from 83, we end up with 41.
Bring next digit (6) of the dividend behind the 41 and repeat the process: 416 / 42

Moving on to step 3:
42 can be fit into 416 9 times, resulting in a remainder of 38.
The number 9 becomes the next digit in our result. 
Result so far: 19.0
Subtract 378 from 416 to get 38.
Include the next digit (4) from the dividend after 38, then repeat: 384 / 42

Going ahead to step 4:
42 goes into 384 9 times with a remainder of 6.
Put 9 as the next digit of the answer. 
Result so far: 199.0
If we take 378 away from 384, we end up with 6.
Append the next digit (5) from the dividend to 6 and continue with: 65 / 42

Advancing to step 5:
When dividing 65 by 42, we get 1 with a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 1991.0
Subtracting 42 from 65 leaves us with 23.
Fetch the next digit (7) from the dividend, attach it to 23 and continue: 237 / 42

On to step 6:
The number 42 fits into 237 5 times, leaving a remainder of 27.
Use 5 as the next digit of our solution. 
Result so far: 19915.0
Subtract 210 from 237 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 7:
42 can be fit into 270 6 times, resulting in a remainder of 18.
Put 6 as the next digit of the answer. 
Result so far: 19915.6
Deduct 252 from 270 and we're left with 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 8:
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: 19915.64
Deduct 168 from 180 and we're left 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.

Going ahead to step 9:
The number 42 fits into 120 2 times, leaving a remainder of 36.
The next digit of our result is 2. 
Result so far: 19915.642
The remainder is 36 after subtracting 84 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

On to step 10:
42 can be fit into 360 8 times, resulting in a remainder of 24.
Record the quotient 8 as the next digit in the result. 
Result so far: 19915.6428
Subtracting 336 from 360 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 11:
240 divided by 42 is 5 with a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 19915.64285
If we subtract 210 from 240, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 12:
42 can be fit into 300 7 times, resulting in a remainder of 6.
The number 7 becomes the next digit in our result. 
Result so far: 19915.642857
If we subtract 294 from 300, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 13:
42 can be fit into 60 1 times, resulting in a remainder of 18.
The next digit of our result is 1. 
Result so far: 19915.6428571
Subtracting 42 from 60 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 14:
180 divided by 42 is 4 with a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 19915.64285714
Deduct 168 from 180 and we're left 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.

The final result is 19915.64285714 with a remainder of 1.2e-08.