We're dividing 31071936 by 402 
Our goal is to divide 31071936 by 402.

On to step 1:
When dividing 3 by 402, we get 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.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 402

Advancing to step 2:
The number 402 fits into 31 0 times, leaving a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Grab the next digit (0) from the dividend, add it to 31, then carry on: 310 / 402

Going ahead to step 3:
When dividing 310 by 402, we get 0 with a remainder of 310.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 310 after subtracting 0 from 310.
Fetch the next digit (7) from the dividend, attach it to 310 and continue: 3107 / 402

Moving on to step 4:
3107 divided by 402 is 7 with a remainder of 293.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
If we take 2814 away from 3107, we end up with 293.
Take the next digit (1) from the dividend and append it to 293, then repeat: 2931 / 402

Let's proceed to step 5:
402 goes into 2931 7 times with a remainder of 117.
Put 7 as the next digit of the answer. 
Result so far: 77.0
If we subtract 2814 from 2931, we get 117.
Grab the next digit (9) from the dividend, add it to 117, then carry on: 1179 / 402

Step 6:
402 goes into 1179 2 times with a remainder of 375.
Use 2 as the next digit of our solution. 
Result so far: 772.0
The remainder is 375 after subtracting 804 from 1179.
Take the next digit (3) from the dividend and append it to 375, then repeat: 3753 / 402

Let's proceed to step 7:
3753 divided by 402 is 9 with a remainder of 135.
Write down 9 as next digit of the result. 
Result so far: 7729.0
Deduct 3618 from 3753 and we're left with 135.
Append the next digit (6) from the dividend to 135 and continue with: 1356 / 402

Let's proceed to step 8:
The number 402 fits into 1356 3 times, leaving a remainder of 150.
The number 3 becomes the next digit in our result. 
Result so far: 77293.0
The remainder is 150 after subtracting 1206 from 1356.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Let's proceed to step 9:
When dividing 1500 by 402, we get 3 with a remainder of 294.
The next digit of our result is 3. 
Result so far: 77293.3
The remainder is 294 after subtracting 1206 from 1500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2940, and continue the process.

Let's proceed to step 10:
If we divide 2940 by 402, we get 7 and a remainder of 126.
Write down 7 as next digit of the result. 
Result so far: 77293.37
The remainder is 126 after subtracting 2814 from 2940.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1260, and continue the process.

Step 11:
1260 divided by 402 is 3 with a remainder of 54.
Put 3 as the next digit of the answer. 
Result so far: 77293.373
Deduct 1206 from 1260 and we're left with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Advancing to step 12:
540 divided by 402 is 1 with a remainder of 138.
Record the quotient 1 as the next digit in the result. 
Result so far: 77293.3731
If we take 402 away from 540, we end up with 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

Advancing to step 13:
If we divide 1380 by 402, we get 3 and a remainder of 174.
Use 3 as the next digit of our solution. 
Result so far: 77293.37313
Subtract 1206 from 1380 to get 174.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1740, and continue the process.

Let's proceed to step 14:
The number 402 fits into 1740 4 times, leaving a remainder of 132.
Put 4 as the next digit of the answer. 
Result so far: 77293.373134
The remainder is 132 after subtracting 1608 from 1740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

Let's proceed to step 15:
402 goes into 1320 3 times with a remainder of 114.
The number 3 becomes the next digit in our result. 
Result so far: 77293.3731343
Subtracting 1206 from 1320 leaves us with 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Let's proceed to step 16:
402 goes into 1140 2 times with a remainder of 336.
Write down 2 as next digit of the result. 
Result so far: 77293.37313432
If we take 804 away from 1140, we end up with 336.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3360, and continue the process.

Our division results in 77293.37313432 with a remaining 3.36e-07.