We're dividing 315951 by 8 
Let's see how many times 8 fits into 315951.

Moving on to step 1:
The number 8 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 8

Step 2:
If we divide 31 by 8, we get 3 and a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we subtract 24 from 31, we get 7.
Append the next digit (5) from the dividend to 7 and continue with: 75 / 8

On to step 3:
75 divided by 8 is 9 with a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 39.0
Deduct 72 from 75 and we're left with 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 8

Let's proceed to step 4:
When dividing 39 by 8, we get 4 with a remainder of 7.
The next digit of our result is 4. 
Result so far: 394.0
If we subtract 32 from 39, we get 7.
Grab the next digit (5) from the dividend, add it to 7, then carry on: 75 / 8

Going ahead to step 5:
8 goes into 75 9 times with a remainder of 3.
Write down 9 as next digit of the result. 
Result so far: 3949.0
If we take 72 away from 75, we end up with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 8

Advancing to step 6:
8 goes into 31 3 times with a remainder of 7.
Put 3 as the next digit of the answer. 
Result so far: 39493.0
Subtract 24 from 31 to 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.

Moving on to step 7:
The number 8 fits into 70 8 times, leaving a remainder of 6.
Record the quotient 8 as the next digit in the result. 
Result so far: 39493.8
If we subtract 64 from 70, we 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.

Moving on to step 8:
60 divided by 8 is 7 with a remainder of 4.
Use 7 as the next digit of our solution. 
Result so far: 39493.87
Subtract 56 from 60 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.

Step 9:
If we divide 40 by 8, we get 5 and a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 39493.875
If we subtract 40 from 40, we 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.

Moving on to step 10:
8 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 39493.875
Subtracting 0 from 0 leaves us 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.

Advancing to step 11:
8 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 39493.875
Subtracting 0 from 0 leaves us 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 final outcome is 39493.875, with a leftover of 0.0.