We look at the division of 51558259 by 31 
We're looking to find how many times 31 goes into 51558259.

On to step 1:
If we divide 5 by 31, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 31

Let's proceed to step 2:
31 can be fit into 51 1 times, resulting in a remainder of 20.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 31 from 51 and we're left with 20.
Include the next digit (5) from the dividend after 20, then repeat: 205 / 31

Advancing to step 3:
When dividing 205 by 31, we get 6 with a remainder of 19.
Use 6 as the next digit of our solution. 
Result so far: 16.0
The remainder is 19 after subtracting 186 from 205.
Bring next digit (5) of the dividend behind the 19 and repeat the process: 195 / 31

Let's proceed to step 4:
31 can be fit into 195 6 times, resulting in a remainder of 9.
Put 6 as the next digit of the answer. 
Result so far: 166.0
If we take 186 away from 195, we end up with 9.
Bring next digit (8) of the dividend behind the 9 and repeat the process: 98 / 31

Going ahead to step 5:
When dividing 98 by 31, we get 3 with a remainder of 5.
The next digit of our result is 3. 
Result so far: 1663.0
Deduct 93 from 98 and we're left with 5.
Bring next digit (2) of the dividend behind the 5 and repeat the process: 52 / 31

Step 6:
When dividing 52 by 31, we get 1 with a remainder of 21.
The number 1 becomes the next digit in our result. 
Result so far: 16631.0
Subtracting 31 from 52 leaves us with 21.
Grab the next digit (5) from the dividend, add it to 21, then carry on: 215 / 31

Let's proceed to step 7:
31 can be fit into 215 6 times, resulting in a remainder of 29.
Put 6 as the next digit of the answer. 
Result so far: 166316.0
Subtract 186 from 215 to get 29.
Append the next digit (9) from the dividend to 29 and continue with: 299 / 31

Step 8:
When dividing 299 by 31, we get 9 with a remainder of 20.
Put 9 as the next digit of the answer. 
Result so far: 1663169.0
The remainder is 20 after subtracting 279 from 299.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 9:
The number 31 fits into 200 6 times, leaving a remainder of 14.
Put 6 as the next digit of the answer. 
Result so far: 1663169.6
The remainder is 14 after subtracting 186 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 10:
If we divide 140 by 31, we get 4 and a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 1663169.64
The remainder is 16 after subtracting 124 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 11:
When dividing 160 by 31, we get 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 1663169.645
If we subtract 155 from 160, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 12:
The number 31 fits into 50 1 times, leaving a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 1663169.6451
Deduct 31 from 50 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 13:
31 goes into 190 6 times with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 1663169.64516
If we subtract 186 from 190, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 14:
The number 31 fits into 40 1 times, leaving a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 1663169.645161
If we subtract 31 from 40, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 15:
If we divide 90 by 31, we get 2 and a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 1663169.6451612
Subtracting 62 from 90 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 16:
When dividing 280 by 31, we get 9 with a remainder of 1.
The next digit of our result is 9. 
Result so far: 1663169.64516129
If we subtract 279 from 280, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

The final result is 1663169.64516129 with a remainder of 1e-09.