315742 divided by 7 
Let's see how many times 7 fits into 315742.

Step 1:
3 divided by 7 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 7

On to step 2:
The number 7 fits into 31 4 times, leaving a remainder of 3.
The next digit of our result is 4. 
Result so far: 4.0
The remainder is 3 after subtracting 28 from 31.
Grab the next digit (5) from the dividend, add it to 3, then carry on: 35 / 7

Let's proceed to step 3:
When dividing 35 by 7, we get 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 45.0
Subtract 35 from 35 to get 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 7

On to step 4:
7 divided by 7 is 1 with a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 451.0
Subtract 7 from 7 to get 0.
Take the next digit (4) from the dividend and append it to 0, then repeat: 4 / 7

Moving on to step 5:
The number 7 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 4510.0
If we take 0 away from 4, we end up with 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 7

Advancing to step 6:
7 can be fit into 42 6 times, resulting in a remainder of 0.
The number 6 becomes the next digit in our result. 
Result so far: 45106.0
Subtracting 42 from 42 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.

Going ahead to step 7:
If we divide 0 by 7, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 45106.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.

Moving on to step 8:
The number 7 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 45106.0
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.

After the division, we end up with 45106.0 and a remainder of 0.0.