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

On to step 1:
8 can be fit into 3 0 times, resulting in a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 8

On to step 2:
8 goes into 31 3 times with a remainder of 7.
The next digit of our result is 3. 
Result so far: 3.0
Subtract 24 from 31 to get 7.
Bring next digit (3) of the dividend behind the 7 and repeat the process: 73 / 8

Let's proceed to step 3:
8 can be fit into 73 9 times, resulting in a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 39.0
The remainder is 1 after subtracting 72 from 73.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 8

Moving on to step 4:
8 can be fit into 10 1 times, resulting in a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 391.0
If we subtract 8 from 10, we get 2.
Bring next digit (7) of the dividend behind the 2 and repeat the process: 27 / 8

Advancing to step 5:
When dividing 27 by 8, we get 3 with a remainder of 3.
Write down 3 as next digit of the result. 
Result so far: 3913.0
If we subtract 24 from 27, we get 3.
Grab the next digit (7) from the dividend, add it to 3, then carry on: 37 / 8

Let's proceed to step 6:
8 can be fit into 37 4 times, resulting in a remainder of 5.
The number 4 becomes the next digit in our result. 
Result so far: 39134.0
Subtracting 32 from 37 leaves us with 5.
Take the next digit (3) from the dividend and append it to 5, then repeat: 53 / 8

Let's proceed to step 7:
53 divided by 8 is 6 with a remainder of 5.
Record the quotient 6 as the next digit in the result. 
Result so far: 391346.0
The remainder is 5 after subtracting 48 from 53.
Include the next digit (2) from the dividend after 5, then repeat: 52 / 8

Moving on to step 8:
The number 8 fits into 52 6 times, leaving a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 3913466.0
Subtract 48 from 52 to 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.

On to step 9:
8 goes into 40 5 times with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 3913466.5
Subtract 40 from 40 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 10:
8 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 3913466.5
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 11:
The number 8 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 3913466.5
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 3913466.5, and the remainder is 0.0.