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

Going ahead to step 1:
509 can be fit into 5 0 times, resulting in a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (3) from the dividend, add it to 5, then carry on: 53 / 509

Advancing to step 2:
If we divide 53 by 509, we get 0 and a remainder of 53.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 53 after subtracting 0 from 53.
Fetch the next digit (7) from the dividend, attach it to 53 and continue: 537 / 509

Step 3:
When dividing 537 by 509, we get 1 with a remainder of 28.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 509 from 537 leaves us with 28.
Bring next digit (9) of the dividend behind the 28 and repeat the process: 289 / 509

Advancing to step 4:
If we divide 289 by 509, we get 0 and a remainder of 289.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
Deduct 0 from 289 and we're left with 289.
Grab the next digit (3) from the dividend, add it to 289, then carry on: 2893 / 509

Going ahead to step 5:
509 goes into 2893 5 times with a remainder of 348.
Put 5 as the next digit of the answer. 
Result so far: 105.0
Deduct 2545 from 2893 and we're left with 348.
Grab the next digit (4) from the dividend, add it to 348, then carry on: 3484 / 509

On to step 6:
When dividing 3484 by 509, we get 6 with a remainder of 430.
Put 6 as the next digit of the answer. 
Result so far: 1056.0
If we subtract 3054 from 3484, we get 430.
Take the next digit (6) from the dividend and append it to 430, then repeat: 4306 / 509

Step 7:
If we divide 4306 by 509, we get 8 and a remainder of 234.
Put 8 as the next digit of the answer. 
Result so far: 10568.0
Deduct 4072 from 4306 and we're left with 234.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2340, and continue the process.

Let's proceed to step 8:
2340 divided by 509 is 4 with a remainder of 304.
Put 4 as the next digit of the answer. 
Result so far: 10568.4
Subtracting 2036 from 2340 leaves us with 304.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3040, and continue the process.

Going ahead to step 9:
509 can be fit into 3040 5 times, resulting in a remainder of 495.
The number 5 becomes the next digit in our result. 
Result so far: 10568.45
Deduct 2545 from 3040 and we're left with 495.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4950, and continue the process.

Moving on to step 10:
The number 509 fits into 4950 9 times, leaving a remainder of 369.
The next digit of our result is 9. 
Result so far: 10568.459
Subtracting 4581 from 4950 leaves us with 369.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3690, and continue the process.

Let's proceed to step 11:
509 goes into 3690 7 times with a remainder of 127.
Write down 7 as next digit of the result. 
Result so far: 10568.4597
If we subtract 3563 from 3690, we get 127.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1270, and continue the process.

Step 12:
The number 509 fits into 1270 2 times, leaving a remainder of 252.
Record the quotient 2 as the next digit in the result. 
Result so far: 10568.45972
Subtracting 1018 from 1270 leaves us with 252.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2520, and continue the process.

Advancing to step 13:
When dividing 2520 by 509, we get 4 with a remainder of 484.
Use 4 as the next digit of our solution. 
Result so far: 10568.459724
The remainder is 484 after subtracting 2036 from 2520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4840, and continue the process.

Going ahead to step 14:
The number 509 fits into 4840 9 times, leaving a remainder of 259.
The number 9 becomes the next digit in our result. 
Result so far: 10568.4597249
Subtract 4581 from 4840 to get 259.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2590, and continue the process.

Going ahead to step 15:
When dividing 2590 by 509, we get 5 with a remainder of 45.
The number 5 becomes the next digit in our result. 
Result so far: 10568.45972495
Deduct 2545 from 2590 and we're left with 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

In conclusion, the division gives 10568.45972495 with a balance of 4.5e-08.