We're dividing 366945 by 41 
The aim is to understand the frequency of 41 in 366945.

On to step 1:
If we divide 3 by 41, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Bring next digit (6) of the dividend behind the 3 and repeat the process: 36 / 41

On to step 2:
If we divide 36 by 41, we get 0 and a remainder of 36.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 36 leaves us with 36.
Append the next digit (6) from the dividend to 36 and continue with: 366 / 41

Going ahead to step 3:
When dividing 366 by 41, we get 8 with a remainder of 38.
Put 8 as the next digit of the answer. 
Result so far: 8.0
Subtract 328 from 366 to get 38.
Append the next digit (9) from the dividend to 38 and continue with: 389 / 41

Advancing to step 4:
41 goes into 389 9 times with a remainder of 20.
Use 9 as the next digit of our solution. 
Result so far: 89.0
If we take 369 away from 389, we end up with 20.
Fetch the next digit (4) from the dividend, attach it to 20 and continue: 204 / 41

Advancing to step 5:
41 goes into 204 4 times with a remainder of 40.
Record the quotient 4 as the next digit in the result. 
Result so far: 894.0
Subtracting 164 from 204 leaves us with 40.
Bring next digit (5) of the dividend behind the 40 and repeat the process: 405 / 41

Step 6:
When dividing 405 by 41, we get 9 with a remainder of 36.
The next digit of our result is 9. 
Result so far: 8949.0
Deduct 369 from 405 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 7:
When dividing 360 by 41, we get 8 with a remainder of 32.
The number 8 becomes the next digit in our result. 
Result so far: 8949.8
The remainder is 32 after subtracting 328 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 8:
41 goes into 320 7 times with a remainder of 33.
Put 7 as the next digit of the answer. 
Result so far: 8949.87
Subtracting 287 from 320 leaves us with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Advancing to step 9:
The number 41 fits into 330 8 times, leaving a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 8949.878
If we subtract 328 from 330, 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 10:
When dividing 20 by 41, we get 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 8949.878
If we subtract 0 from 20, we 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.

Going ahead to step 11:
When dividing 200 by 41, we get 4 with a remainder of 36.
The next digit of our result is 4. 
Result so far: 8949.87804
Subtracting 164 from 200 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 12:
41 can be fit into 360 8 times, resulting in a remainder of 32.
Record the quotient 8 as the next digit in the result. 
Result so far: 8949.878048
The remainder is 32 after subtracting 328 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 13:
320 divided by 41 is 7 with a remainder of 33.
The number 7 becomes the next digit in our result. 
Result so far: 8949.8780487
Subtract 287 from 320 to get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Going ahead to step 14:
If we divide 330 by 41, we get 8 and a remainder of 2.
The next digit of our result is 8. 
Result so far: 8949.87804878
Subtracting 328 from 330 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The quotient of the division is 8949.87804878, and the remainder is 2e-09.