We're dividing 315371 by 7 
Let's see how many times 7 fits into 315371.

Going ahead to step 1:
The number 7 fits into 3 0 times, leaving 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.
Take the next digit (1) from the dividend and append it to 3, then repeat: 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
Subtracting 28 from 31 leaves us with 3.
Take the next digit (5) from the dividend and append it to 3, then repeat: 35 / 7

On to step 3:
If we divide 35 by 7, we get 5 and a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 45.0
If we subtract 35 from 35, we get 0.
Append the next digit (3) from the dividend to 0 and continue with: 3 / 7

Moving on to step 4:
If we divide 3 by 7, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 450.0
If we subtract 0 from 3, we get 3.
Grab the next digit (7) from the dividend, add it to 3, then carry on: 37 / 7

On to step 5:
7 can be fit into 37 5 times, resulting in a remainder of 2.
Use 5 as the next digit of our solution. 
Result so far: 4505.0
If we subtract 35 from 37, we get 2.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 7

Advancing to step 6:
21 divided by 7 is 3 with a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 45053.0
If we subtract 21 from 21, 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.

On to step 7:
0 divided by 7 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 45053.0
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.

Advancing to step 8:
0 divided by 7 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 45053.0
If we take 0 away from 0, we end up 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 result is 45053.0 with a remainder of 0.0.