We look at the division of 310562 by 40 
We want to figure out the number of times 310562 can be divided by 40.

Moving on to step 1:
The number 40 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 40

Step 2:
If we divide 31 by 40, we get 0 and a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Fetch the next digit (0) from the dividend, attach it to 31 and continue: 310 / 40

Moving on to step 3:
310 divided by 40 is 7 with a remainder of 30.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
If we subtract 280 from 310, we get 30.
Include the next digit (5) from the dividend after 30, then repeat: 305 / 40

Let's proceed to step 4:
40 can be fit into 305 7 times, resulting in a remainder of 25.
Put 7 as the next digit of the answer. 
Result so far: 77.0
Subtracting 280 from 305 leaves us with 25.
Grab the next digit (6) from the dividend, add it to 25, then carry on: 256 / 40

Going ahead to step 5:
256 divided by 40 is 6 with a remainder of 16.
Use 6 as the next digit of our solution. 
Result so far: 776.0
If we take 240 away from 256, we end up with 16.
Take the next digit (2) from the dividend and append it to 16, then repeat: 162 / 40

On to step 6:
40 can be fit into 162 4 times, resulting in a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 7764.0
If we subtract 160 from 162, 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.

Advancing to step 7:
20 divided by 40 is 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 7764.0
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

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

On to step 9:
0 divided by 40 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 7764.05
Subtract 0 from 0 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.

Let's proceed to step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 7764.05
Subtract 0 from 0 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.

Our division results in 7764.05 with a remaining 0.0.