We divide 31583 by 9
We want to divide 31583 by 9.

Step 1:
When dividing 3 by 9, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 9

On to step 2:
The number 9 fits into 31 3 times, leaving a remainder of 4.
The next digit of our result is 3. 
Result so far: 3.0
Subtracting 27 from 31 leaves us with 4.
Include the next digit (5) from the dividend after 4, then repeat: 45 / 9

Advancing to step 3:
45 divided by 9 is 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 35.0
If we take 45 away from 45, we end up with 0.
Append the next digit (8) from the dividend to 0 and continue with: 8 / 9

Going ahead to step 4:
9 can be fit into 8 0 times, resulting in a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 350.0
The remainder is 8 after subtracting 0 from 8.
Bring next digit (3) of the dividend behind the 8 and repeat the process: 83 / 9

Advancing to step 5:
When dividing 83 by 9, we get 9 with a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 3509.0
Subtracting 81 from 83 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 6:
The number 9 fits into 20 2 times, leaving a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 3509.2
Deduct 18 from 20 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 7:
When dividing 20 by 9, we get 2 with a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 3509.22
If we subtract 18 from 20, 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.

Our division results in 3509.22 with a remaining 0.002.