We look at the division of 31523 by 7 
Let's see how many times 7 fits into 31523.

Advancing to step 1:
If we divide 3 by 7, we get 0 and a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 7

Advancing to step 2:
7 goes into 31 4 times with a remainder of 3.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
The remainder is 3 after subtracting 28 from 31.
Take the next digit (5) from the dividend and append it to 3, then repeat: 35 / 7

Step 3:
When dividing 35 by 7, we get 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 45.0
Subtract 35 from 35 to get 0.
Append the next digit (2) from the dividend to 0 and continue with: 2 / 7

Let's proceed to step 4:
7 can be fit into 2 0 times, resulting in a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 450.0
Deduct 0 from 2 and we're left with 2.
Append the next digit (3) from the dividend to 2 and continue with: 23 / 7

Moving on to step 5:
When dividing 23 by 7, we get 3 with a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 4503.0
If we subtract 21 from 23, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 6:
7 goes into 20 2 times with a remainder of 6.
The next digit of our result is 2. 
Result so far: 4503.2
Subtracting 14 from 20 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 7:
7 can be fit into 60 8 times, resulting in a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 4503.28
Deduct 56 from 60 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.

Advancing to step 8:
40 divided by 7 is 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 4503.285
Subtracting 35 from 40 leaves us 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.

Going ahead to step 9:
7 can be fit into 50 7 times, resulting in a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 4503.2857
Subtracting 49 from 50 leaves us 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.

On to step 10:
10 divided by 7 is 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 4503.28571
Subtract 7 from 10 to 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.

Going ahead to step 11:
7 goes into 30 4 times with a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 4503.285714
The remainder is 2 after subtracting 28 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 12:
7 can be fit into 20 2 times, resulting in a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 4503.2857142
Subtract 14 from 20 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 13:
When dividing 60 by 7, we get 8 with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 4503.28571428
The remainder is 4 after subtracting 56 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

In conclusion, the division gives 4503.28571428 with a balance of 4e-09.