Let's divide 10246499 by 509
The aim is to understand the frequency of 509 in 10246499.

Going ahead to step 1:
1 divided by 509 is 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Append the next digit (0) from the dividend to 1 and continue with: 10 / 509

Moving on to step 2:
509 can be fit into 10 0 times, resulting in a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 10, we end up with 10.
Fetch the next digit (2) from the dividend, attach it to 10 and continue: 102 / 509

Let's proceed to step 3:
509 goes into 102 0 times with a remainder of 102.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 102 leaves us with 102.
Bring next digit (4) of the dividend behind the 102 and repeat the process: 1024 / 509

On to step 4:
The number 509 fits into 1024 2 times, leaving a remainder of 6.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we subtract 1018 from 1024, we get 6.
Take the next digit (6) from the dividend and append it to 6, then repeat: 66 / 509

Step 5:
66 divided by 509 is 0 with a remainder of 66.
The number 0 becomes the next digit in our result. 
Result so far: 20.0
Subtracting 0 from 66 leaves us with 66.
Grab the next digit (4) from the dividend, add it to 66, then carry on: 664 / 509

On to step 6:
509 goes into 664 1 times with a remainder of 155.
Record the quotient 1 as the next digit in the result. 
Result so far: 201.0
Deduct 509 from 664 and we're left with 155.
Fetch the next digit (9) from the dividend, attach it to 155 and continue: 1559 / 509

On to step 7:
509 can be fit into 1559 3 times, resulting in a remainder of 32.
Write down 3 as next digit of the result. 
Result so far: 2013.0
Subtract 1527 from 1559 to get 32.
Include the next digit (9) from the dividend after 32, then repeat: 329 / 509

On to step 8:
329 divided by 509 is 0 with a remainder of 329.
Use 0 as the next digit of our solution. 
Result so far: 20130.0
If we take 0 away from 329, we end up with 329.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3290, and continue the process.

Moving on to step 9:
3290 divided by 509 is 6 with a remainder of 236.
The next digit of our result is 6. 
Result so far: 20130.6
The remainder is 236 after subtracting 3054 from 3290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2360, and continue the process.

Advancing to step 10:
509 can be fit into 2360 4 times, resulting in a remainder of 324.
The number 4 becomes the next digit in our result. 
Result so far: 20130.64
Subtracting 2036 from 2360 leaves us with 324.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3240, and continue the process.

On to step 11:
509 can be fit into 3240 6 times, resulting in a remainder of 186.
The next digit of our result is 6. 
Result so far: 20130.646
If we take 3054 away from 3240, we end up with 186.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1860, and continue the process.

Going ahead to step 12:
When dividing 1860 by 509, we get 3 with a remainder of 333.
Write down 3 as next digit of the result. 
Result so far: 20130.6463
The remainder is 333 after subtracting 1527 from 1860.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3330, and continue the process.

Step 13:
If we divide 3330 by 509, we get 6 and a remainder of 276.
The next digit of our result is 6. 
Result so far: 20130.64636
Subtracting 3054 from 3330 leaves us with 276.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2760, and continue the process.

Going ahead to step 14:
If we divide 2760 by 509, we get 5 and a remainder of 215.
The number 5 becomes the next digit in our result. 
Result so far: 20130.646365
Subtracting 2545 from 2760 leaves us with 215.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2150, and continue the process.

On to step 15:
2150 divided by 509 is 4 with a remainder of 114.
Use 4 as the next digit of our solution. 
Result so far: 20130.6463654
If we take 2036 away from 2150, we end up with 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Moving on to step 16:
The number 509 fits into 1140 2 times, leaving a remainder of 122.
Write down 2 as next digit of the result. 
Result so far: 20130.64636542
Subtract 1018 from 1140 to get 122.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1220, and continue the process.

The final outcome is 20130.64636542, with a leftover of 1.22e-07.