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

On to step 1:
If we divide 3 by 23, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 23

Step 2:
31 divided by 23 is 1 with a remainder of 8.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 23 away from 31, we end up with 8.
Append the next digit (0) from the dividend to 8 and continue with: 80 / 23

Going ahead to step 3:
23 goes into 80 3 times with a remainder of 11.
Put 3 as the next digit of the answer. 
Result so far: 13.0
The remainder is 11 after subtracting 69 from 80.
Include the next digit (5) from the dividend after 11, then repeat: 115 / 23

Advancing to step 4:
When dividing 115 by 23, we get 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 135.0
Subtract 115 from 115 to get 0.
Grab the next digit (6) from the dividend, add it to 0, then carry on: 6 / 23

Let's proceed to step 5:
The number 23 fits into 6 0 times, leaving a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 1350.0
The remainder is 6 after subtracting 0 from 6.
Bring next digit (1) of the dividend behind the 6 and repeat the process: 61 / 23

On to step 6:
When dividing 61 by 23, we get 2 with a remainder of 15.
Record the quotient 2 as the next digit in the result. 
Result so far: 13502.0
Subtract 46 from 61 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 7:
150 divided by 23 is 6 with a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 13502.6
If we take 138 away from 150, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 8:
When dividing 120 by 23, we get 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 13502.65
Subtract 115 from 120 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 9:
23 goes into 50 2 times with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 13502.652
Deduct 46 from 50 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 10:
23 can be fit into 40 1 times, resulting in a remainder of 17.
Use 1 as the next digit of our solution. 
Result so far: 13502.6521
Subtracting 23 from 40 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 11:
The number 23 fits into 170 7 times, leaving a remainder of 9.
Record the quotient 7 as the next digit in the result. 
Result so far: 13502.65217
If we take 161 away from 170, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Moving on to step 12:
23 can be fit into 90 3 times, resulting in a remainder of 21.
Record the quotient 3 as the next digit in the result. 
Result so far: 13502.652173
Subtracting 69 from 90 leaves us with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Step 13:
When dividing 210 by 23, we get 9 with a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 13502.6521739
If we subtract 207 from 210, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 14:
If we divide 30 by 23, we get 1 and a remainder of 7.
The next digit of our result is 1. 
Result so far: 13502.65217391
Deduct 23 from 30 and we're left 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.

The final outcome is 13502.65217391, with a leftover of 7e-09.