510195 divided by 31 
Let's see how many times 31 fits into 510195.

Step 1:
5 divided by 31 is 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 31

Step 2:
31 can be fit into 51 1 times, resulting in a remainder of 20.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 31 from 51 and we're left with 20.
Grab the next digit (0) from the dividend, add it to 20, then carry on: 200 / 31

Going ahead to step 3:
If we divide 200 by 31, we get 6 and a remainder of 14.
Use 6 as the next digit of our solution. 
Result so far: 16.0
Subtracting 186 from 200 leaves us with 14.
Include the next digit (1) from the dividend after 14, then repeat: 141 / 31

On to step 4:
31 goes into 141 4 times with a remainder of 17.
The next digit of our result is 4. 
Result so far: 164.0
If we take 124 away from 141, we end up with 17.
Grab the next digit (9) from the dividend, add it to 17, then carry on: 179 / 31

Step 5:
When dividing 179 by 31, we get 5 with a remainder of 24.
Put 5 as the next digit of the answer. 
Result so far: 1645.0
Deduct 155 from 179 and we're left with 24.
Append the next digit (5) from the dividend to 24 and continue with: 245 / 31

On to step 6:
245 divided by 31 is 7 with a remainder of 28.
The next digit of our result is 7. 
Result so far: 16457.0
The remainder is 28 after subtracting 217 from 245.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 7:
31 can be fit into 280 9 times, resulting in a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 16457.9
Subtracting 279 from 280 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 8:
If we divide 10 by 31, we get 0 and a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 16457.9
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 9:
31 goes into 100 3 times with a remainder of 7.
The next digit of our result is 3. 
Result so far: 16457.903
If we subtract 93 from 100, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 10:
31 can be fit into 70 2 times, resulting in a remainder of 8.
The next digit of our result is 2. 
Result so far: 16457.9032
If we take 62 away from 70, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 11:
When dividing 80 by 31, we get 2 with a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 16457.90322
Subtracting 62 from 80 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final outcome is 16457.90322, with a leftover of 1.8e-05.