840364 ÷ 41 
The aim is to understand the frequency of 41 in 840364.

Advancing to step 1:
When dividing 8 by 41, we get 0 with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Take the next digit (4) from the dividend and append it to 8, then repeat: 84 / 41

Advancing to step 2:
If we divide 84 by 41, we get 2 and a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 82 away from 84, we end up with 2.
Fetch the next digit (0) from the dividend, attach it to 2 and continue: 20 / 41

Let's proceed to step 3:
If we divide 20 by 41, we get 0 and a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 20.0
Deduct 0 from 20 and we're left with 20.
Include the next digit (3) from the dividend after 20, then repeat: 203 / 41

Going ahead to step 4:
When dividing 203 by 41, we get 4 with a remainder of 39.
Record the quotient 4 as the next digit in the result. 
Result so far: 204.0
If we subtract 164 from 203, we get 39.
Include the next digit (6) from the dividend after 39, then repeat: 396 / 41

On to step 5:
41 can be fit into 396 9 times, resulting in a remainder of 27.
Use 9 as the next digit of our solution. 
Result so far: 2049.0
Deduct 369 from 396 and we're left with 27.
Fetch the next digit (4) from the dividend, attach it to 27 and continue: 274 / 41

Step 6:
When dividing 274 by 41, we get 6 with a remainder of 28.
Write down 6 as next digit of the result. 
Result so far: 20496.0
If we take 246 away from 274, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 7:
41 goes into 280 6 times with a remainder of 34.
Record the quotient 6 as the next digit in the result. 
Result so far: 20496.6
If we take 246 away from 280, we end up 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 8:
When dividing 340 by 41, we get 8 with a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 20496.68
Subtracting 328 from 340 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.

Going ahead to step 9:
41 can be fit into 120 2 times, resulting in a remainder of 38.
The number 2 becomes the next digit in our result. 
Result so far: 20496.682
The remainder is 38 after subtracting 82 from 120.
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 10:
The number 41 fits into 380 9 times, leaving a remainder of 11.
Put 9 as the next digit of the answer. 
Result so far: 20496.6829
If we take 369 away from 380, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 11:
The number 41 fits into 110 2 times, leaving a remainder of 28.
The next digit of our result is 2. 
Result so far: 20496.68292
The remainder is 28 after subtracting 82 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 12:
When dividing 280 by 41, we get 6 with a remainder of 34.
Put 6 as the next digit of the answer. 
Result so far: 20496.682926
If we take 246 away from 280, we end up 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 13:
41 can be fit into 340 8 times, resulting in a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 20496.6829268
If we take 328 away from 340, we end up 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.

Step 14:
If we divide 120 by 41, we get 2 and a remainder of 38.
Use 2 as the next digit of our solution. 
Result so far: 20496.68292682
Subtract 82 from 120 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

The final outcome is 20496.68292682, with a leftover of 3.8e-08.