We divide 585817 by 23
The aim is to understand the frequency of 23 in 585817.

On to step 1:
23 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 23

On to step 2:
If we divide 58 by 23, we get 2 and a remainder of 12.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 46 from 58 leaves us with 12.
Grab the next digit (5) from the dividend, add it to 12, then carry on: 125 / 23

Going ahead to step 3:
23 can be fit into 125 5 times, resulting in a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 25.0
Subtracting 115 from 125 leaves us with 10.
Grab the next digit (8) from the dividend, add it to 10, then carry on: 108 / 23

Step 4:
If we divide 108 by 23, we get 4 and a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 254.0
Deduct 92 from 108 and we're left with 16.
Append the next digit (1) from the dividend to 16 and continue with: 161 / 23

On to step 5:
If we divide 161 by 23, we get 7 and a remainder of 0.
The number 7 becomes the next digit in our result. 
Result so far: 2547.0
The remainder is 0 after subtracting 161 from 161.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 23

Moving on to step 6:
7 divided by 23 is 0 with a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 25470.0
If we take 0 away from 7, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 7:
23 can be fit into 70 3 times, resulting in a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 25470.3
If we take 69 away from 70, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 8:
10 divided by 23 is 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 25470.3
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 9:
23 can be fit into 100 4 times, resulting in a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 25470.304
Subtracting 92 from 100 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 10:
If we divide 80 by 23, we get 3 and a remainder of 11.
Write down 3 as next digit of the result. 
Result so far: 25470.3043
If we subtract 69 from 80, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 11:
If we divide 110 by 23, we get 4 and a remainder of 18.
Put 4 as the next digit of the answer. 
Result so far: 25470.30434
If we subtract 92 from 110, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 12:
The number 23 fits into 180 7 times, leaving a remainder of 19.
Put 7 as the next digit of the answer. 
Result so far: 25470.304347
If we subtract 161 from 180, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Moving on to step 13:
190 divided by 23 is 8 with a remainder of 6.
Use 8 as the next digit of our solution. 
Result so far: 25470.3043478
Subtracting 184 from 190 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 14:
If we divide 60 by 23, we get 2 and a remainder of 14.
Write down 2 as next digit of the result. 
Result so far: 25470.30434782
If we subtract 46 from 60, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The final result is 25470.30434782 with a remainder of 1.4e-08.