We look at the division of 31288870 by 497 
We want to divide 31288870 by 497.

On to step 1:
If we divide 3 by 497, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 497

Advancing to step 2:
31 divided by 497 is 0 with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Include the next digit (2) from the dividend after 31, then repeat: 312 / 497

Step 3:
497 can be fit into 312 0 times, resulting in a remainder of 312.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 312 and we're left with 312.
Take the next digit (8) from the dividend and append it to 312, then repeat: 3128 / 497

Step 4:
497 goes into 3128 6 times with a remainder of 146.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Deduct 2982 from 3128 and we're left with 146.
Take the next digit (8) from the dividend and append it to 146, then repeat: 1468 / 497

Moving on to step 5:
When dividing 1468 by 497, we get 2 with a remainder of 474.
Write down 2 as next digit of the result. 
Result so far: 62.0
If we subtract 994 from 1468, we get 474.
Take the next digit (8) from the dividend and append it to 474, then repeat: 4748 / 497

On to step 6:
4748 divided by 497 is 9 with a remainder of 275.
Write down 9 as next digit of the result. 
Result so far: 629.0
Subtract 4473 from 4748 to get 275.
Append the next digit (7) from the dividend to 275 and continue with: 2757 / 497

Going ahead to step 7:
497 can be fit into 2757 5 times, resulting in a remainder of 272.
The next digit of our result is 5. 
Result so far: 6295.0
Subtracting 2485 from 2757 leaves us with 272.
Fetch the next digit (0) from the dividend, attach it to 272 and continue: 2720 / 497

Advancing to step 8:
The number 497 fits into 2720 5 times, leaving a remainder of 235.
The next digit of our result is 5. 
Result so far: 62955.0
The remainder is 235 after subtracting 2485 from 2720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2350, and continue the process.

Advancing to step 9:
If we divide 2350 by 497, we get 4 and a remainder of 362.
Write down 4 as next digit of the result. 
Result so far: 62955.4
Subtract 1988 from 2350 to get 362.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3620, and continue the process.

Advancing to step 10:
When dividing 3620 by 497, we get 7 with a remainder of 141.
Put 7 as the next digit of the answer. 
Result so far: 62955.47
The remainder is 141 after subtracting 3479 from 3620.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1410, and continue the process.

Going ahead to step 11:
If we divide 1410 by 497, we get 2 and a remainder of 416.
Put 2 as the next digit of the answer. 
Result so far: 62955.472
The remainder is 416 after subtracting 994 from 1410.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4160, and continue the process.

On to step 12:
If we divide 4160 by 497, we get 8 and a remainder of 184.
The next digit of our result is 8. 
Result so far: 62955.4728
If we subtract 3976 from 4160, we get 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

On to step 13:
497 can be fit into 1840 3 times, resulting in a remainder of 349.
Record the quotient 3 as the next digit in the result. 
Result so far: 62955.47283
Deduct 1491 from 1840 and we're left with 349.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3490, and continue the process.

Going ahead to step 14:
3490 divided by 497 is 7 with a remainder of 11.
Use 7 as the next digit of our solution. 
Result so far: 62955.472837
Subtracting 3479 from 3490 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 15:
110 divided by 497 is 0 with a remainder of 110.
Use 0 as the next digit of our solution. 
Result so far: 62955.472837
Deduct 0 from 110 and we're left with 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Advancing to step 16:
497 goes into 1100 2 times with a remainder of 106.
Use 2 as the next digit of our solution. 
Result so far: 62955.47283702
The remainder is 106 after subtracting 994 from 1100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

After the division, we end up with 62955.47283702 and a remainder of 1.06e-07.