We look at the division of 41028657 by 509 
The aim is to understand the frequency of 509 in 41028657.

Step 1:
When dividing 4 by 509, we get 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Take the next digit (1) from the dividend and append it to 4, then repeat: 41 / 509

On to step 2:
509 goes into 41 0 times with a remainder of 41.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 41 and we're left with 41.
Take the next digit (0) from the dividend and append it to 41, then repeat: 410 / 509

Let's proceed to step 3:
509 can be fit into 410 0 times, resulting in a remainder of 410.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 410 and we're left with 410.
Grab the next digit (2) from the dividend, add it to 410, then carry on: 4102 / 509

Going ahead to step 4:
The number 509 fits into 4102 8 times, leaving a remainder of 30.
Write down 8 as next digit of the result. 
Result so far: 8.0
If we take 4072 away from 4102, we end up with 30.
Take the next digit (8) from the dividend and append it to 30, then repeat: 308 / 509

Step 5:
509 can be fit into 308 0 times, resulting in a remainder of 308.
Put 0 as the next digit of the answer. 
Result so far: 80.0
Subtracting 0 from 308 leaves us with 308.
Append the next digit (6) from the dividend to 308 and continue with: 3086 / 509

Going ahead to step 6:
509 can be fit into 3086 6 times, resulting in a remainder of 32.
Use 6 as the next digit of our solution. 
Result so far: 806.0
Subtracting 3054 from 3086 leaves us with 32.
Bring next digit (5) of the dividend behind the 32 and repeat the process: 325 / 509

Going ahead to step 7:
325 divided by 509 is 0 with a remainder of 325.
Record the quotient 0 as the next digit in the result. 
Result so far: 8060.0
Subtract 0 from 325 to get 325.
Append the next digit (7) from the dividend to 325 and continue with: 3257 / 509

Step 8:
509 can be fit into 3257 6 times, resulting in a remainder of 203.
Write down 6 as next digit of the result. 
Result so far: 80606.0
If we take 3054 away from 3257, we end up with 203.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2030, and continue the process.

Let's proceed to step 9:
509 can be fit into 2030 3 times, resulting in a remainder of 503.
Record the quotient 3 as the next digit in the result. 
Result so far: 80606.3
Subtract 1527 from 2030 to get 503.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5030, and continue the process.

Step 10:
509 goes into 5030 9 times with a remainder of 449.
Write down 9 as next digit of the result. 
Result so far: 80606.39
The remainder is 449 after subtracting 4581 from 5030.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4490, and continue the process.

On to step 11:
509 goes into 4490 8 times with a remainder of 418.
Record the quotient 8 as the next digit in the result. 
Result so far: 80606.398
Subtract 4072 from 4490 to get 418.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4180, and continue the process.

Let's proceed to step 12:
509 can be fit into 4180 8 times, resulting in a remainder of 108.
The next digit of our result is 8. 
Result so far: 80606.3988
If we subtract 4072 from 4180, we get 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

Our division results in 80606.3988 with a remaining 0.00108.