We look at the division of 31621359 by 123 
The aim is to understand the frequency of 123 in 31621359.

Advancing to step 1:
3 divided by 123 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 123

Moving on to step 2:
123 can be fit into 31 0 times, resulting in a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Fetch the next digit (6) from the dividend, attach it to 31 and continue: 316 / 123

Let's proceed to step 3:
If we divide 316 by 123, we get 2 and a remainder of 70.
The next digit of our result is 2. 
Result so far: 2.0
If we subtract 246 from 316, we get 70.
Append the next digit (2) from the dividend to 70 and continue with: 702 / 123

On to step 4:
702 divided by 123 is 5 with a remainder of 87.
Put 5 as the next digit of the answer. 
Result so far: 25.0
If we subtract 615 from 702, we get 87.
Grab the next digit (1) from the dividend, add it to 87, then carry on: 871 / 123

Let's proceed to step 5:
The number 123 fits into 871 7 times, leaving a remainder of 10.
Use 7 as the next digit of our solution. 
Result so far: 257.0
Deduct 861 from 871 and we're left with 10.
Fetch the next digit (3) from the dividend, attach it to 10 and continue: 103 / 123

On to step 6:
If we divide 103 by 123, we get 0 and a remainder of 103.
Use 0 as the next digit of our solution. 
Result so far: 2570.0
Subtracting 0 from 103 leaves us with 103.
Grab the next digit (5) from the dividend, add it to 103, then carry on: 1035 / 123

Moving on to step 7:
123 goes into 1035 8 times with a remainder of 51.
The number 8 becomes the next digit in our result. 
Result so far: 25708.0
The remainder is 51 after subtracting 984 from 1035.
Include the next digit (9) from the dividend after 51, then repeat: 519 / 123

Step 8:
123 goes into 519 4 times with a remainder of 27.
Put 4 as the next digit of the answer. 
Result so far: 257084.0
Subtracting 492 from 519 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Advancing to step 9:
The number 123 fits into 270 2 times, leaving a remainder of 24.
Write down 2 as next digit of the result. 
Result so far: 257084.2
Deduct 246 from 270 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 10:
123 goes into 240 1 times with a remainder of 117.
The next digit of our result is 1. 
Result so far: 257084.21
The remainder is 117 after subtracting 123 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1170, and continue the process.

Going ahead to step 11:
123 can be fit into 1170 9 times, resulting in a remainder of 63.
Write down 9 as next digit of the result. 
Result so far: 257084.219
If we subtract 1107 from 1170, we get 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Step 12:
123 goes into 630 5 times with a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 257084.2195
If we take 615 away from 630, we end up with 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 13:
123 goes into 150 1 times with a remainder of 27.
Write down 1 as next digit of the result. 
Result so far: 257084.21951
If we subtract 123 from 150, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 14:
When dividing 270 by 123, we get 2 with a remainder of 24.
Record the quotient 2 as the next digit in the result. 
Result so far: 257084.219512
Subtracting 246 from 270 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 15:
123 goes into 240 1 times with a remainder of 117.
Record the quotient 1 as the next digit in the result. 
Result so far: 257084.2195121
Deduct 123 from 240 and we're left with 117.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1170, and continue the process.

Going ahead to step 16:
1170 divided by 123 is 9 with a remainder of 63.
Use 9 as the next digit of our solution. 
Result so far: 257084.21951219
If we subtract 1107 from 1170, we get 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

In conclusion, the division gives 257084.21951219 with a balance of 6.3e-08.