We look at the division of 5816859 by 513 
The aim is to understand the frequency of 513 in 5816859.

Going ahead to step 1:
513 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 513

On to step 2:
When dividing 58 by 513, we get 0 with a remainder of 58.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 58, we end up with 58.
Bring next digit (1) of the dividend behind the 58 and repeat the process: 581 / 513

Moving on to step 3:
The number 513 fits into 581 1 times, leaving a remainder of 68.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 513 from 581 to get 68.
Include the next digit (6) from the dividend after 68, then repeat: 686 / 513

Let's proceed to step 4:
513 goes into 686 1 times with a remainder of 173.
Write down 1 as next digit of the result. 
Result so far: 11.0
The remainder is 173 after subtracting 513 from 686.
Take the next digit (8) from the dividend and append it to 173, then repeat: 1738 / 513

Advancing to step 5:
If we divide 1738 by 513, we get 3 and a remainder of 199.
Write down 3 as next digit of the result. 
Result so far: 113.0
Subtracting 1539 from 1738 leaves us with 199.
Append the next digit (5) from the dividend to 199 and continue with: 1995 / 513

Step 6:
The number 513 fits into 1995 3 times, leaving a remainder of 456.
The next digit of our result is 3. 
Result so far: 1133.0
If we take 1539 away from 1995, we end up with 456.
Fetch the next digit (9) from the dividend, attach it to 456 and continue: 4569 / 513

Moving on to step 7:
When dividing 4569 by 513, we get 8 with a remainder of 465.
Record the quotient 8 as the next digit in the result. 
Result so far: 11338.0
Deduct 4104 from 4569 and we're left with 465.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4650, and continue the process.

Step 8:
If we divide 4650 by 513, we get 9 and a remainder of 33.
Use 9 as the next digit of our solution. 
Result so far: 11338.9
Subtract 4617 from 4650 to get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Step 9:
If we divide 330 by 513, we get 0 and a remainder of 330.
The next digit of our result is 0. 
Result so far: 11338.9
If we take 0 away from 330, we end up with 330.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3300, and continue the process.

On to step 10:
513 can be fit into 3300 6 times, resulting in a remainder of 222.
Put 6 as the next digit of the answer. 
Result so far: 11338.906
Deduct 3078 from 3300 and we're left with 222.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2220, and continue the process.

Moving on to step 11:
If we divide 2220 by 513, we get 4 and a remainder of 168.
Put 4 as the next digit of the answer. 
Result so far: 11338.9064
The remainder is 168 after subtracting 2052 from 2220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1680, and continue the process.

Let's proceed to step 12:
513 goes into 1680 3 times with a remainder of 141.
Put 3 as the next digit of the answer. 
Result so far: 11338.90643
The remainder is 141 after subtracting 1539 from 1680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1410, and continue the process.

Going ahead to step 13:
513 can be fit into 1410 2 times, resulting in a remainder of 384.
Record the quotient 2 as the next digit in the result. 
Result so far: 11338.906432
Subtract 1026 from 1410 to get 384.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3840, and continue the process.

On to step 14:
3840 divided by 513 is 7 with a remainder of 249.
The next digit of our result is 7. 
Result so far: 11338.9064327
Deduct 3591 from 3840 and we're left with 249.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2490, and continue the process.

Let's proceed to step 15:
513 can be fit into 2490 4 times, resulting in a remainder of 438.
Use 4 as the next digit of our solution. 
Result so far: 11338.90643274
If we subtract 2052 from 2490, we get 438.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4380, and continue the process.

Our division results in 11338.90643274 with a remaining 4.38e-07.