We look at the division of 5846138 by 583 
The aim is to understand the frequency of 583 in 5846138.

On to step 1:
When dividing 5 by 583, we get 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 583

Let's proceed to step 2:
583 can be fit into 58 0 times, resulting in a remainder of 58.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 58 and we're left with 58.
Grab the next digit (4) from the dividend, add it to 58, then carry on: 584 / 583

Let's proceed to step 3:
584 divided by 583 is 1 with a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 583 away from 584, we end up with 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 583

Advancing to step 4:
583 can be fit into 16 0 times, resulting in a remainder of 16.
Write down 0 as next digit of the result. 
Result so far: 10.0
The remainder is 16 after subtracting 0 from 16.
Grab the next digit (1) from the dividend, add it to 16, then carry on: 161 / 583

Going ahead to step 5:
161 divided by 583 is 0 with a remainder of 161.
Put 0 as the next digit of the answer. 
Result so far: 100.0
Deduct 0 from 161 and we're left with 161.
Bring next digit (3) of the dividend behind the 161 and repeat the process: 1613 / 583

Step 6:
If we divide 1613 by 583, we get 2 and a remainder of 447.
The next digit of our result is 2. 
Result so far: 1002.0
Subtracting 1166 from 1613 leaves us with 447.
Include the next digit (8) from the dividend after 447, then repeat: 4478 / 583

Going ahead to step 7:
If we divide 4478 by 583, we get 7 and a remainder of 397.
Use 7 as the next digit of our solution. 
Result so far: 10027.0
Subtracting 4081 from 4478 leaves us with 397.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3970, and continue the process.

On to step 8:
583 can be fit into 3970 6 times, resulting in a remainder of 472.
Write down 6 as next digit of the result. 
Result so far: 10027.6
Subtract 3498 from 3970 to get 472.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4720, and continue the process.

Moving on to step 9:
4720 divided by 583 is 8 with a remainder of 56.
Record the quotient 8 as the next digit in the result. 
Result so far: 10027.68
If we take 4664 away from 4720, we end up with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Step 10:
The number 583 fits into 560 0 times, leaving a remainder of 560.
The number 0 becomes the next digit in our result. 
Result so far: 10027.68
Deduct 0 from 560 and we're left with 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5600, and continue the process.

Let's proceed to step 11:
5600 divided by 583 is 9 with a remainder of 353.
Record the quotient 9 as the next digit in the result. 
Result so far: 10027.6809
The remainder is 353 after subtracting 5247 from 5600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3530, and continue the process.

Moving on to step 12:
If we divide 3530 by 583, we get 6 and a remainder of 32.
Put 6 as the next digit of the answer. 
Result so far: 10027.68096
The remainder is 32 after subtracting 3498 from 3530.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 13:
320 divided by 583 is 0 with a remainder of 320.
The number 0 becomes the next digit in our result. 
Result so far: 10027.68096
The remainder is 320 after subtracting 0 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Going ahead to step 14:
When dividing 3200 by 583, we get 5 with a remainder of 285.
Write down 5 as next digit of the result. 
Result so far: 10027.6809605
The remainder is 285 after subtracting 2915 from 3200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2850, and continue the process.

Advancing to step 15:
583 goes into 2850 4 times with a remainder of 518.
The number 4 becomes the next digit in our result. 
Result so far: 10027.68096054
Subtracting 2332 from 2850 leaves us with 518.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5180, and continue the process.

Our division results in 10027.68096054 with a remaining 5.18e-07.