623507 divided by 31 
We want to figure out the number of times 623507 can be divided by 31.

On to step 1:
31 goes into 6 0 times with a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 6, we get 6.
Grab the next digit (2) from the dividend, add it to 6, then carry on: 62 / 31

Going ahead to step 2:
The number 31 fits into 62 2 times, leaving a remainder of 0.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 62 from 62 to get 0.
Bring next digit (3) of the dividend behind the 0 and repeat the process: 3 / 31

On to step 3:
3 divided by 31 is 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 20.0
Deduct 0 from 3 and we're left with 3.
Append the next digit (5) from the dividend to 3 and continue with: 35 / 31

Advancing to step 4:
If we divide 35 by 31, we get 1 and a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 201.0
If we subtract 31 from 35, we get 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 31

Step 5:
If we divide 40 by 31, we get 1 and a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 2011.0
Subtracting 31 from 40 leaves us with 9.
Bring next digit (7) of the dividend behind the 9 and repeat the process: 97 / 31

Moving on to step 6:
When dividing 97 by 31, we get 3 with a remainder of 4.
Record the quotient 3 as the next digit in the result. 
Result so far: 20113.0
The remainder is 4 after subtracting 93 from 97.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 7:
When dividing 40 by 31, we get 1 with a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 20113.1
If we subtract 31 from 40, we get 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 8:
The number 31 fits into 90 2 times, leaving a remainder of 28.
The next digit of our result is 2. 
Result so far: 20113.12
Subtracting 62 from 90 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 9:
If we divide 280 by 31, we get 9 and a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 20113.129
The remainder is 1 after subtracting 279 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 10:
31 can be fit into 10 0 times, resulting in a remainder of 10.
The next digit of our result is 0. 
Result so far: 20113.129
Subtract 0 from 10 to 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 11:
When dividing 100 by 31, we get 3 with a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 20113.12903
If we subtract 93 from 100, 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.

On to step 12:
When dividing 70 by 31, we get 2 with a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 20113.129032
Subtract 62 from 70 to get 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 13:
80 divided by 31 is 2 with a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 20113.1290322
Subtract 62 from 80 to 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.

The final result is 20113.1290322 with a remainder of 1.8e-07.