We're dividing 31351585 by 802 
Let's see how many times 802 fits into 31351585.

Let's proceed to step 1:
The number 802 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
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 / 802

Moving on to step 2:
31 divided by 802 is 0 with a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Take the next digit (3) from the dividend and append it to 31, then repeat: 313 / 802

Step 3:
If we divide 313 by 802, we get 0 and a remainder of 313.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 313 leaves us with 313.
Grab the next digit (5) from the dividend, add it to 313, then carry on: 3135 / 802

Advancing to step 4:
802 can be fit into 3135 3 times, resulting in a remainder of 729.
Put 3 as the next digit of the answer. 
Result so far: 3.0
The remainder is 729 after subtracting 2406 from 3135.
Bring next digit (1) of the dividend behind the 729 and repeat the process: 7291 / 802

Going ahead to step 5:
802 can be fit into 7291 9 times, resulting in a remainder of 73.
The next digit of our result is 9. 
Result so far: 39.0
Deduct 7218 from 7291 and we're left with 73.
Fetch the next digit (5) from the dividend, attach it to 73 and continue: 735 / 802

Step 6:
802 can be fit into 735 0 times, resulting in a remainder of 735.
Record the quotient 0 as the next digit in the result. 
Result so far: 390.0
If we subtract 0 from 735, we get 735.
Grab the next digit (8) from the dividend, add it to 735, then carry on: 7358 / 802

Going ahead to step 7:
802 goes into 7358 9 times with a remainder of 140.
Put 9 as the next digit of the answer. 
Result so far: 3909.0
If we take 7218 away from 7358, we end up with 140.
Take the next digit (5) from the dividend and append it to 140, then repeat: 1405 / 802

Going ahead to step 8:
1405 divided by 802 is 1 with a remainder of 603.
Put 1 as the next digit of the answer. 
Result so far: 39091.0
Subtracting 802 from 1405 leaves us with 603.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6030, and continue the process.

Let's proceed to step 9:
802 can be fit into 6030 7 times, resulting in a remainder of 416.
Put 7 as the next digit of the answer. 
Result so far: 39091.7
If we take 5614 away from 6030, we end up with 416.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4160, and continue the process.

Let's proceed to step 10:
If we divide 4160 by 802, we get 5 and a remainder of 150.
Record the quotient 5 as the next digit in the result. 
Result so far: 39091.75
Subtracting 4010 from 4160 leaves us with 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Going ahead to step 11:
If we divide 1500 by 802, we get 1 and a remainder of 698.
Write down 1 as next digit of the result. 
Result so far: 39091.751
If we take 802 away from 1500, we end up with 698.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6980, and continue the process.

Let's proceed to step 12:
The number 802 fits into 6980 8 times, leaving a remainder of 564.
Put 8 as the next digit of the answer. 
Result so far: 39091.7518
Deduct 6416 from 6980 and we're left with 564.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5640, and continue the process.

On to step 13:
802 can be fit into 5640 7 times, resulting in a remainder of 26.
The number 7 becomes the next digit in our result. 
Result so far: 39091.75187
Subtract 5614 from 5640 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 14:
The number 802 fits into 260 0 times, leaving a remainder of 260.
Record the quotient 0 as the next digit in the result. 
Result so far: 39091.75187
If we subtract 0 from 260, we get 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

Advancing to step 15:
The number 802 fits into 2600 3 times, leaving a remainder of 194.
Use 3 as the next digit of our solution. 
Result so far: 39091.7518703
Deduct 2406 from 2600 and we're left with 194.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1940, and continue the process.

Let's proceed to step 16:
When dividing 1940 by 802, we get 2 with a remainder of 336.
The number 2 becomes the next digit in our result. 
Result so far: 39091.75187032
Subtracting 1604 from 1940 leaves us 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.

The final outcome is 39091.75187032, with a leftover of 3.36e-07.