We're dividing 13999340 by 509 
The aim is to understand the frequency of 509 in 13999340.

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
The remainder is 1 after subtracting 0 from 1.
Append the next digit (3) from the dividend to 1 and continue with: 13 / 509

Step 2:
13 divided by 509 is 0 with a remainder of 13.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 13, we end up with 13.
Grab the next digit (9) from the dividend, add it to 13, then carry on: 139 / 509

Step 3:
If we divide 139 by 509, we get 0 and a remainder of 139.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 139 after subtracting 0 from 139.
Grab the next digit (9) from the dividend, add it to 139, then carry on: 1399 / 509

Moving on to step 4:
509 can be fit into 1399 2 times, resulting in a remainder of 381.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Deduct 1018 from 1399 and we're left with 381.
Append the next digit (9) from the dividend to 381 and continue with: 3819 / 509

Advancing to step 5:
509 goes into 3819 7 times with a remainder of 256.
Write down 7 as next digit of the result. 
Result so far: 27.0
The remainder is 256 after subtracting 3563 from 3819.
Append the next digit (3) from the dividend to 256 and continue with: 2563 / 509

Advancing to step 6:
When dividing 2563 by 509, we get 5 with a remainder of 18.
The number 5 becomes the next digit in our result. 
Result so far: 275.0
If we take 2545 away from 2563, we end up with 18.
Fetch the next digit (4) from the dividend, attach it to 18 and continue: 184 / 509

Let's proceed to step 7:
184 divided by 509 is 0 with a remainder of 184.
Write down 0 as next digit of the result. 
Result so far: 2750.0
Subtract 0 from 184 to get 184.
Fetch the next digit (0) from the dividend, attach it to 184 and continue: 1840 / 509

Moving on to step 8:
The number 509 fits into 1840 3 times, leaving a remainder of 313.
Write down 3 as next digit of the result. 
Result so far: 27503.0
The remainder is 313 after subtracting 1527 from 1840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3130, and continue the process.

Let's proceed to step 9:
The number 509 fits into 3130 6 times, leaving a remainder of 76.
Put 6 as the next digit of the answer. 
Result so far: 27503.6
Deduct 3054 from 3130 and we're left with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Moving on to step 10:
When dividing 760 by 509, we get 1 with a remainder of 251.
Put 1 as the next digit of the answer. 
Result so far: 27503.61
The remainder is 251 after subtracting 509 from 760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2510, and continue the process.

Going ahead to step 11:
If we divide 2510 by 509, we get 4 and a remainder of 474.
Use 4 as the next digit of our solution. 
Result so far: 27503.614
Subtracting 2036 from 2510 leaves us with 474.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4740, and continue the process.

Advancing to step 12:
4740 divided by 509 is 9 with a remainder of 159.
The number 9 becomes the next digit in our result. 
Result so far: 27503.6149
If we subtract 4581 from 4740, we get 159.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1590, and continue the process.

Going ahead to step 13:
When dividing 1590 by 509, we get 3 with a remainder of 63.
Put 3 as the next digit of the answer. 
Result so far: 27503.61493
Subtract 1527 from 1590 to get 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Advancing to step 14:
630 divided by 509 is 1 with a remainder of 121.
The next digit of our result is 1. 
Result so far: 27503.614931
Subtracting 509 from 630 leaves us with 121.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1210, and continue the process.

Going ahead to step 15:
1210 divided by 509 is 2 with a remainder of 192.
Use 2 as the next digit of our solution. 
Result so far: 27503.6149312
If we take 1018 away from 1210, we end up with 192.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1920, and continue the process.

Moving on to step 16:
509 can be fit into 1920 3 times, resulting in a remainder of 393.
Write down 3 as next digit of the result. 
Result so far: 27503.61493123
If we take 1527 away from 1920, we end up with 393.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3930, and continue the process.

After the division, we end up with 27503.61493123 and a remainder of 3.93e-07.