We look at the division of 505446 by 41 
The aim is to understand the frequency of 41 in 505446.

On to step 1:
41 can be fit into 5 0 times, resulting in a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 41

Advancing to step 2:
The number 41 fits into 50 1 times, leaving a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 41 away from 50, we end up with 9.
Fetch the next digit (5) from the dividend, attach it to 9 and continue: 95 / 41

On to step 3:
41 goes into 95 2 times with a remainder of 13.
Write down 2 as next digit of the result. 
Result so far: 12.0
If we subtract 82 from 95, we get 13.
Bring next digit (4) of the dividend behind the 13 and repeat the process: 134 / 41

Let's proceed to step 4:
134 divided by 41 is 3 with a remainder of 11.
Write down 3 as next digit of the result. 
Result so far: 123.0
Subtract 123 from 134 to get 11.
Grab the next digit (4) from the dividend, add it to 11, then carry on: 114 / 41

Moving on to step 5:
If we divide 114 by 41, we get 2 and a remainder of 32.
The number 2 becomes the next digit in our result. 
Result so far: 1232.0
The remainder is 32 after subtracting 82 from 114.
Fetch the next digit (6) from the dividend, attach it to 32 and continue: 326 / 41

On to step 6:
41 goes into 326 7 times with a remainder of 39.
The next digit of our result is 7. 
Result so far: 12327.0
Deduct 287 from 326 and we're left with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Going ahead to step 7:
41 goes into 390 9 times with a remainder of 21.
Put 9 as the next digit of the answer. 
Result so far: 12327.9
The remainder is 21 after subtracting 369 from 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 8:
210 divided by 41 is 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 12327.95
Subtracting 205 from 210 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 9:
41 goes into 50 1 times with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 12327.951
If we subtract 41 from 50, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 10:
When dividing 90 by 41, we get 2 with a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 12327.9512
The remainder is 8 after subtracting 82 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 11:
41 goes into 80 1 times with a remainder of 39.
The number 1 becomes the next digit in our result. 
Result so far: 12327.95121
Deduct 41 from 80 and we're left with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Going ahead to step 12:
When dividing 390 by 41, we get 9 with a remainder of 21.
Record the quotient 9 as the next digit in the result. 
Result so far: 12327.951219
The remainder is 21 after subtracting 369 from 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 13:
210 divided by 41 is 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 12327.9512195
The remainder is 5 after subtracting 205 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 14:
If we divide 50 by 41, we get 1 and a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 12327.95121951
Subtract 41 from 50 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

The final outcome is 12327.95121951, with a leftover of 9e-09.