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

Step 1:
23 can be fit into 3 0 times, resulting in a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 23

Advancing to step 2:
If we divide 31 by 23, we get 1 and a remainder of 8.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 8 after subtracting 23 from 31.
Bring next digit (7) of the dividend behind the 8 and repeat the process: 87 / 23

Let's proceed to step 3:
87 divided by 23 is 3 with a remainder of 18.
Use 3 as the next digit of our solution. 
Result so far: 13.0
Subtracting 69 from 87 leaves us with 18.
Bring next digit (4) of the dividend behind the 18 and repeat the process: 184 / 23

Moving on to step 4:
When dividing 184 by 23, we get 8 with a remainder of 0.
Use 8 as the next digit of our solution. 
Result so far: 138.0
Subtracting 184 from 184 leaves us with 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 23

Advancing to step 5:
When dividing 7 by 23, we get 0 with a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 1380.0
The remainder is 7 after subtracting 0 from 7.
Bring next digit (1) of the dividend behind the 7 and repeat the process: 71 / 23

Going ahead to step 6:
If we divide 71 by 23, we get 3 and a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 13803.0
The remainder is 2 after subtracting 69 from 71.
Grab the next digit (4) from the dividend, add it to 2, then carry on: 24 / 23

On to step 7:
23 goes into 24 1 times with a remainder of 1.
The next digit of our result is 1. 
Result so far: 138031.0
If we take 23 away from 24, we end up with 1.
Grab the next digit (2) from the dividend, add it to 1, then carry on: 12 / 23

Moving on to step 8:
23 goes into 12 0 times with a remainder of 12.
Put 0 as the next digit of the answer. 
Result so far: 1380310.0
Subtract 0 from 12 to get 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 9:
120 divided by 23 is 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 1380310.5
If we take 115 away from 120, we end up with 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 10:
If we divide 50 by 23, we get 2 and a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 1380310.52
If we subtract 46 from 50, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 11:
If we divide 40 by 23, we get 1 and a remainder of 17.
The number 1 becomes the next digit in our result. 
Result so far: 1380310.521
Subtract 23 from 40 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 12:
The number 23 fits into 170 7 times, leaving a remainder of 9.
Write down 7 as next digit of the result. 
Result so far: 1380310.5217
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.

Step 13:
When dividing 90 by 23, we get 3 with a remainder of 21.
Use 3 as the next digit of our solution. 
Result so far: 1380310.52173
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.

Let's proceed to step 14:
23 goes into 210 9 times with a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 1380310.521739
The remainder is 3 after subtracting 207 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 15:
If we divide 30 by 23, we get 1 and a remainder of 7.
Write down 1 as next digit of the result. 
Result so far: 1380310.5217391
If we subtract 23 from 30, we get 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 16:
When dividing 70 by 23, we get 3 with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 1380310.52173913
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.

In conclusion, the division gives 1380310.52173913 with a balance of 1e-09.