We divide 12074986 by 509
The aim is to understand the frequency of 509 in 12074986.

Let's proceed to step 1:
The number 509 fits into 1 0 times, leaving a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 509

Let's proceed to step 2:
509 can be fit into 12 0 times, resulting in a remainder of 12.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 12, we end up with 12.
Bring next digit (0) of the dividend behind the 12 and repeat the process: 120 / 509

Step 3:
If we divide 120 by 509, we get 0 and a remainder of 120.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 120 to get 120.
Include the next digit (7) from the dividend after 120, then repeat: 1207 / 509

On to step 4:
The number 509 fits into 1207 2 times, leaving a remainder of 189.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtracting 1018 from 1207 leaves us with 189.
Take the next digit (4) from the dividend and append it to 189, then repeat: 1894 / 509

Advancing to step 5:
If we divide 1894 by 509, we get 3 and a remainder of 367.
Put 3 as the next digit of the answer. 
Result so far: 23.0
Deduct 1527 from 1894 and we're left with 367.
Bring next digit (9) of the dividend behind the 367 and repeat the process: 3679 / 509

Moving on to step 6:
When dividing 3679 by 509, we get 7 with a remainder of 116.
The number 7 becomes the next digit in our result. 
Result so far: 237.0
Subtract 3563 from 3679 to get 116.
Bring next digit (8) of the dividend behind the 116 and repeat the process: 1168 / 509

Advancing to step 7:
509 goes into 1168 2 times with a remainder of 150.
The number 2 becomes the next digit in our result. 
Result so far: 2372.0
Subtracting 1018 from 1168 leaves us with 150.
Bring next digit (6) of the dividend behind the 150 and repeat the process: 1506 / 509

Moving on to step 8:
509 can be fit into 1506 2 times, resulting in a remainder of 488.
Write down 2 as next digit of the result. 
Result so far: 23722.0
Deduct 1018 from 1506 and we're left with 488.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4880, and continue the process.

Advancing to step 9:
When dividing 4880 by 509, we get 9 with a remainder of 299.
Record the quotient 9 as the next digit in the result. 
Result so far: 23722.9
If we take 4581 away from 4880, we end up with 299.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2990, and continue the process.

Step 10:
2990 divided by 509 is 5 with a remainder of 445.
The number 5 becomes the next digit in our result. 
Result so far: 23722.95
If we take 2545 away from 2990, we end up with 445.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4450, and continue the process.

Going ahead to step 11:
When dividing 4450 by 509, we get 8 with a remainder of 378.
The next digit of our result is 8. 
Result so far: 23722.958
Deduct 4072 from 4450 and we're left with 378.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3780, and continue the process.

Step 12:
509 can be fit into 3780 7 times, resulting in a remainder of 217.
The next digit of our result is 7. 
Result so far: 23722.9587
If we subtract 3563 from 3780, we get 217.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2170, and continue the process.

Advancing to step 13:
If we divide 2170 by 509, we get 4 and a remainder of 134.
The number 4 becomes the next digit in our result. 
Result so far: 23722.95874
If we subtract 2036 from 2170, we get 134.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1340, and continue the process.

Moving on to step 14:
1340 divided by 509 is 2 with a remainder of 322.
Put 2 as the next digit of the answer. 
Result so far: 23722.958742
If we subtract 1018 from 1340, we get 322.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3220, and continue the process.

Moving on to step 15:
509 can be fit into 3220 6 times, resulting in a remainder of 166.
Put 6 as the next digit of the answer. 
Result so far: 23722.9587426
Deduct 3054 from 3220 and we're left with 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

Step 16:
1660 divided by 509 is 3 with a remainder of 133.
Put 3 as the next digit of the answer. 
Result so far: 23722.95874263
If we subtract 1527 from 1660, we get 133.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1330, and continue the process.

The final result is 23722.95874263 with a remainder of 1.33e-07.