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

Let's proceed to step 1:
When dividing 5 by 41, we get 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 41

On to step 2:
41 goes into 50 1 times with a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 41 from 50, we get 9.
Append the next digit (1) from the dividend to 9 and continue with: 91 / 41

Going ahead to step 3:
When dividing 91 by 41, we get 2 with a remainder of 9.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
If we take 82 away from 91, we end up with 9.
Bring next digit (1) of the dividend behind the 9 and repeat the process: 91 / 41

Advancing to step 4:
The number 41 fits into 91 2 times, leaving a remainder of 9.
The next digit of our result is 2. 
Result so far: 122.0
If we subtract 82 from 91, we get 9.
Take the next digit (8) from the dividend and append it to 9, then repeat: 98 / 41

Let's proceed to step 5:
When dividing 98 by 41, we get 2 with a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 1222.0
Deduct 82 from 98 and we're left with 16.
Include the next digit (7) from the dividend after 16, then repeat: 167 / 41

Going ahead to step 6:
167 divided by 41 is 4 with a remainder of 3.
Write down 4 as next digit of the result. 
Result so far: 12224.0
If we take 164 away from 167, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 7:
When dividing 30 by 41, we get 0 with a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 12224.0
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 8:
If we divide 300 by 41, we get 7 and a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 12224.07
Subtracting 287 from 300 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Advancing to step 9:
If we divide 130 by 41, we get 3 and a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 12224.073
If we subtract 123 from 130, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 10:
41 can be fit into 70 1 times, resulting in a remainder of 29.
The number 1 becomes the next digit in our result. 
Result so far: 12224.0731
Deduct 41 from 70 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Let's proceed to step 11:
The number 41 fits into 290 7 times, leaving a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 12224.07317
Subtracting 287 from 290 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 12:
When dividing 30 by 41, we get 0 with a remainder of 30.
The next digit of our result is 0. 
Result so far: 12224.07317
Deduct 0 from 30 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 13:
When dividing 300 by 41, we get 7 with a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 12224.0731707
Subtract 287 from 300 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 14:
41 goes into 130 3 times with a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 12224.07317073
Subtracting 123 from 130 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

After the division, we end up with 12224.07317073 and a remainder of 7e-09.