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

Let's proceed to step 1:
42 can be fit into 8 0 times, resulting in a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Bring next digit (1) of the dividend behind the 8 and repeat the process: 81 / 42

Advancing to step 2:
42 goes into 81 1 times with a remainder of 39.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 42 from 81 to get 39.
Append the next digit (1) from the dividend to 39 and continue with: 391 / 42

Let's proceed to step 3:
42 goes into 391 9 times with a remainder of 13.
Use 9 as the next digit of our solution. 
Result so far: 19.0
If we subtract 378 from 391, we get 13.
Include the next digit (6) from the dividend after 13, then repeat: 136 / 42

Let's proceed to step 4:
42 can be fit into 136 3 times, resulting in a remainder of 10.
The next digit of our result is 3. 
Result so far: 193.0
The remainder is 10 after subtracting 126 from 136.
Take the next digit (7) from the dividend and append it to 10, then repeat: 107 / 42

Step 5:
If we divide 107 by 42, we get 2 and a remainder of 23.
The number 2 becomes the next digit in our result. 
Result so far: 1932.0
Subtracting 84 from 107 leaves us with 23.
Include the next digit (0) from the dividend after 23, then repeat: 230 / 42

Moving on to step 6:
42 goes into 230 5 times with a remainder of 20.
Put 5 as the next digit of the answer. 
Result so far: 19325.0
Subtract 210 from 230 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.

Let's proceed to step 7:
200 divided by 42 is 4 with a remainder of 32.
Record the quotient 4 as the next digit in the result. 
Result so far: 19325.4
If we subtract 168 from 200, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 8:
The number 42 fits into 320 7 times, leaving a remainder of 26.
Put 7 as the next digit of the answer. 
Result so far: 19325.47
Subtracting 294 from 320 leaves us 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 can be fit into 260 6 times, resulting in a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 19325.476
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 10:
80 divided by 42 is 1 with a remainder of 38.
The next digit of our result is 1. 
Result so far: 19325.4761
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.

On to step 11:
380 divided by 42 is 9 with a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 19325.47619
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.

Advancing to step 12:
If we divide 20 by 42, we get 0 and a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 19325.47619
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.

Advancing to step 13:
42 can be fit into 200 4 times, resulting in a remainder of 32.
The number 4 becomes the next digit in our result. 
Result so far: 19325.4761904
The remainder is 32 after subtracting 168 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 14:
When dividing 320 by 42, we get 7 with a remainder of 26.
Record the quotient 7 as the next digit in the result. 
Result so far: 19325.47619047
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.

Our division results in 19325.47619047 with a remaining 2.6e-08.