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

On to step 1:
41 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 41

Let's proceed to step 2:
41 can be fit into 58 1 times, resulting in a remainder of 17.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 41 from 58 to get 17.
Append the next digit (0) from the dividend to 17 and continue with: 170 / 41

Advancing to step 3:
If we divide 170 by 41, we get 4 and a remainder of 6.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
Deduct 164 from 170 and we're left with 6.
Include the next digit (2) from the dividend after 6, then repeat: 62 / 41

Going ahead to step 4:
When dividing 62 by 41, we get 1 with a remainder of 21.
Write down 1 as next digit of the result. 
Result so far: 141.0
If we take 41 away from 62, we end up with 21.
Take the next digit (7) from the dividend and append it to 21, then repeat: 217 / 41

Moving on to step 5:
41 goes into 217 5 times with a remainder of 12.
The number 5 becomes the next digit in our result. 
Result so far: 1415.0
Deduct 205 from 217 and we're left with 12.
Fetch the next digit (4) from the dividend, attach it to 12 and continue: 124 / 41

Advancing to step 6:
The number 41 fits into 124 3 times, leaving a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 14153.0
Deduct 123 from 124 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 7:
10 divided by 41 is 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 14153.0
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 8:
41 can be fit into 100 2 times, resulting in a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 14153.02
Subtract 82 from 100 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 9:
If we divide 180 by 41, we get 4 and a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 14153.024
Subtracting 164 from 180 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 10:
If we divide 160 by 41, we get 3 and a remainder of 37.
Write down 3 as next digit of the result. 
Result so far: 14153.0243
Subtracting 123 from 160 leaves us with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Advancing to step 11:
When dividing 370 by 41, we get 9 with a remainder of 1.
The next digit of our result is 9. 
Result so far: 14153.02439
Deduct 369 from 370 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 12:
The number 41 fits into 10 0 times, leaving a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 14153.02439
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 13:
41 goes into 100 2 times with a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 14153.0243902
If we subtract 82 from 100, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 14:
41 can be fit into 180 4 times, resulting in a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 14153.02439024
Subtract 164 from 180 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Our division results in 14153.02439024 with a remaining 1.6e-08.