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

Moving on to step 1:
41 goes into 5 0 times with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Append the next digit (2) from the dividend to 5 and continue with: 52 / 41

On to step 2:
When dividing 52 by 41, we get 1 with a remainder of 11.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 41 away from 52, we end up with 11.
Append the next digit (0) from the dividend to 11 and continue with: 110 / 41

On to step 3:
When dividing 110 by 41, we get 2 with a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 12.0
Deduct 82 from 110 and we're left with 28.
Include the next digit (1) from the dividend after 28, then repeat: 281 / 41

Advancing to step 4:
If we divide 281 by 41, we get 6 and a remainder of 35.
Record the quotient 6 as the next digit in the result. 
Result so far: 126.0
If we subtract 246 from 281, we get 35.
Grab the next digit (6) from the dividend, add it to 35, then carry on: 356 / 41

Step 5:
41 can be fit into 356 8 times, resulting in a remainder of 28.
Use 8 as the next digit of our solution. 
Result so far: 1268.0
If we take 328 away from 356, we end up with 28.
Bring next digit (6) of the dividend behind the 28 and repeat the process: 286 / 41

Going ahead to step 6:
41 can be fit into 286 6 times, resulting in a remainder of 40.
Use 6 as the next digit of our solution. 
Result so far: 12686.0
Deduct 246 from 286 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 7:
400 divided by 41 is 9 with a remainder of 31.
Use 9 as the next digit of our solution. 
Result so far: 12686.9
If we take 369 away from 400, we end up with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Advancing to step 8:
When dividing 310 by 41, we get 7 with a remainder of 23.
The next digit of our result is 7. 
Result so far: 12686.97
The remainder is 23 after subtracting 287 from 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 9:
The number 41 fits into 230 5 times, leaving a remainder of 25.
The next digit of our result is 5. 
Result so far: 12686.975
The remainder is 25 after subtracting 205 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 10:
250 divided by 41 is 6 with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 12686.9756
Subtracting 246 from 250 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 11:
When dividing 40 by 41, we get 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 12686.9756
Subtract 0 from 40 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 12:
41 goes into 400 9 times with a remainder of 31.
The next digit of our result is 9. 
Result so far: 12686.975609
If we subtract 369 from 400, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

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

Let's proceed to step 14:
41 goes into 230 5 times with a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 12686.97560975
Subtract 205 from 230 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

The final outcome is 12686.97560975, with a leftover of 2.5e-08.