We're dividing 20799970 by 513 
The aim is to understand the frequency of 513 in 20799970.

Step 1:
The number 513 fits into 2 0 times, leaving a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 2, we get 2.
Include the next digit (0) from the dividend after 2, then repeat: 20 / 513

Step 2:
If we divide 20 by 513, we get 0 and a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 20 to get 20.
Grab the next digit (7) from the dividend, add it to 20, then carry on: 207 / 513

Going ahead to step 3:
The number 513 fits into 207 0 times, leaving a remainder of 207.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 207 to get 207.
Bring next digit (9) of the dividend behind the 207 and repeat the process: 2079 / 513

On to step 4:
513 goes into 2079 4 times with a remainder of 27.
The next digit of our result is 4. 
Result so far: 4.0
If we take 2052 away from 2079, we end up with 27.
Take the next digit (9) from the dividend and append it to 27, then repeat: 279 / 513

Advancing to step 5:
279 divided by 513 is 0 with a remainder of 279.
Write down 0 as next digit of the result. 
Result so far: 40.0
If we subtract 0 from 279, we get 279.
Include the next digit (9) from the dividend after 279, then repeat: 2799 / 513

Step 6:
The number 513 fits into 2799 5 times, leaving a remainder of 234.
The next digit of our result is 5. 
Result so far: 405.0
Subtract 2565 from 2799 to get 234.
Grab the next digit (7) from the dividend, add it to 234, then carry on: 2347 / 513

Advancing to step 7:
513 can be fit into 2347 4 times, resulting in a remainder of 295.
Put 4 as the next digit of the answer. 
Result so far: 4054.0
The remainder is 295 after subtracting 2052 from 2347.
Take the next digit (0) from the dividend and append it to 295, then repeat: 2950 / 513

Advancing to step 8:
If we divide 2950 by 513, we get 5 and a remainder of 385.
Put 5 as the next digit of the answer. 
Result so far: 40545.0
The remainder is 385 after subtracting 2565 from 2950.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3850, and continue the process.

Let's proceed to step 9:
3850 divided by 513 is 7 with a remainder of 259.
Write down 7 as next digit of the result. 
Result so far: 40545.7
Subtracting 3591 from 3850 leaves us with 259.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2590, and continue the process.

Let's proceed to step 10:
513 can be fit into 2590 5 times, resulting in a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 40545.75
Subtracting 2565 from 2590 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 11:
250 divided by 513 is 0 with a remainder of 250.
Record the quotient 0 as the next digit in the result. 
Result so far: 40545.75
If we take 0 away from 250, we end up with 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

Going ahead to step 12:
513 goes into 2500 4 times with a remainder of 448.
Use 4 as the next digit of our solution. 
Result so far: 40545.7504
If we subtract 2052 from 2500, we get 448.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4480, and continue the process.

Advancing to step 13:
When dividing 4480 by 513, we get 8 with a remainder of 376.
The number 8 becomes the next digit in our result. 
Result so far: 40545.75048
Subtract 4104 from 4480 to get 376.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3760, and continue the process.

Moving on to step 14:
If we divide 3760 by 513, we get 7 and a remainder of 169.
The number 7 becomes the next digit in our result. 
Result so far: 40545.750487
Deduct 3591 from 3760 and we're left with 169.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1690, and continue the process.

Advancing to step 15:
The number 513 fits into 1690 3 times, leaving a remainder of 151.
The next digit of our result is 3. 
Result so far: 40545.7504873
Subtract 1539 from 1690 to get 151.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1510, and continue the process.

Advancing to step 16:
When dividing 1510 by 513, we get 2 with a remainder of 484.
The number 2 becomes the next digit in our result. 
Result so far: 40545.75048732
The remainder is 484 after subtracting 1026 from 1510.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4840, and continue the process.

The final result is 40545.75048732 with a remainder of 4.84e-07.