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

Going ahead to step 1:
41 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (3) from the dividend, add it to 5, then carry on: 53 / 41

Going ahead to step 2:
53 divided by 41 is 1 with a remainder of 12.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 41 from 53 and we're left with 12.
Append the next digit (1) from the dividend to 12 and continue with: 121 / 41

Going ahead to step 3:
When dividing 121 by 41, we get 2 with a remainder of 39.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
Subtract 82 from 121 to get 39.
Include the next digit (1) from the dividend after 39, then repeat: 391 / 41

Advancing to step 4:
The number 41 fits into 391 9 times, leaving a remainder of 22.
Put 9 as the next digit of the answer. 
Result so far: 129.0
If we subtract 369 from 391, we get 22.
Bring next digit (6) of the dividend behind the 22 and repeat the process: 226 / 41

Step 5:
The number 41 fits into 226 5 times, leaving a remainder of 21.
Use 5 as the next digit of our solution. 
Result so far: 1295.0
Subtract 205 from 226 to get 21.
Append the next digit (6) from the dividend to 21 and continue with: 216 / 41

Step 6:
The number 41 fits into 216 5 times, leaving a remainder of 11.
Use 5 as the next digit of our solution. 
Result so far: 12955.0
If we subtract 205 from 216, we get 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 7:
If we divide 110 by 41, we get 2 and a remainder of 28.
The next digit of our result is 2. 
Result so far: 12955.2
Subtract 82 from 110 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 8:
The number 41 fits into 280 6 times, leaving a remainder of 34.
The number 6 becomes the next digit in our result. 
Result so far: 12955.26
Subtracting 246 from 280 leaves us 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.

Advancing to step 9:
When dividing 340 by 41, we get 8 with a remainder of 12.
The next digit of our result is 8. 
Result so far: 12955.268
If we subtract 328 from 340, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 10:
When dividing 120 by 41, we get 2 with a remainder of 38.
The next digit of our result is 2. 
Result so far: 12955.2682
Subtracting 82 from 120 leaves us with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Step 11:
The number 41 fits into 380 9 times, leaving a remainder of 11.
Record the quotient 9 as the next digit in the result. 
Result so far: 12955.26829
The remainder is 11 after subtracting 369 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 12:
The number 41 fits into 110 2 times, leaving a remainder of 28.
Put 2 as the next digit of the answer. 
Result so far: 12955.268292
Subtracting 82 from 110 leaves us 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 13:
When dividing 280 by 41, we get 6 with a remainder of 34.
Record the quotient 6 as the next digit in the result. 
Result so far: 12955.2682926
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.

Moving on to step 14:
340 divided by 41 is 8 with a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 12955.26829268
Deduct 328 from 340 and we're left 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.

After the division, we end up with 12955.26829268 and a remainder of 1.2e-08.