We divide 4044171 by 842
The aim is to understand the frequency of 842 in 4044171.

On to step 1:
If we divide 4 by 842, we get 0 and a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 842

Step 2:
40 divided by 842 is 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Include the next digit (4) from the dividend after 40, then repeat: 404 / 842

Step 3:
404 divided by 842 is 0 with a remainder of 404.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 404, we end up with 404.
Append the next digit (4) from the dividend to 404 and continue with: 4044 / 842

Advancing to step 4:
842 can be fit into 4044 4 times, resulting in a remainder of 676.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Subtracting 3368 from 4044 leaves us with 676.
Grab the next digit (1) from the dividend, add it to 676, then carry on: 6761 / 842

Moving on to step 5:
If we divide 6761 by 842, we get 8 and a remainder of 25.
Use 8 as the next digit of our solution. 
Result so far: 48.0
The remainder is 25 after subtracting 6736 from 6761.
Append the next digit (7) from the dividend to 25 and continue with: 257 / 842

On to step 6:
If we divide 257 by 842, we get 0 and a remainder of 257.
Record the quotient 0 as the next digit in the result. 
Result so far: 480.0
If we take 0 away from 257, we end up with 257.
Take the next digit (1) from the dividend and append it to 257, then repeat: 2571 / 842

Step 7:
2571 divided by 842 is 3 with a remainder of 45.
The number 3 becomes the next digit in our result. 
Result so far: 4803.0
If we take 2526 away from 2571, we end up with 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

On to step 8:
842 goes into 450 0 times with a remainder of 450.
Put 0 as the next digit of the answer. 
Result so far: 4803.0
Subtract 0 from 450 to get 450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4500, and continue the process.

Let's proceed to step 9:
When dividing 4500 by 842, we get 5 with a remainder of 290.
Put 5 as the next digit of the answer. 
Result so far: 4803.05
Deduct 4210 from 4500 and we're left with 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2900, and continue the process.

Moving on to step 10:
The number 842 fits into 2900 3 times, leaving a remainder of 374.
The number 3 becomes the next digit in our result. 
Result so far: 4803.053
If we subtract 2526 from 2900, we get 374.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3740, and continue the process.

Advancing to step 11:
If we divide 3740 by 842, we get 4 and a remainder of 372.
Record the quotient 4 as the next digit in the result. 
Result so far: 4803.0534
Subtract 3368 from 3740 to get 372.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3720, and continue the process.

On to step 12:
The number 842 fits into 3720 4 times, leaving a remainder of 352.
Write down 4 as next digit of the result. 
Result so far: 4803.05344
Deduct 3368 from 3720 and we're left with 352.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3520, and continue the process.

The final outcome is 4803.05344, with a leftover of 0.000352.