Let's divide 10172158 by 310
Let's see how many times 310 fits into 10172158.

Moving on to step 1:
When dividing 1 by 310, we get 0 with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 310

Let's proceed to step 2:
10 divided by 310 is 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 10, we end up with 10.
Include the next digit (1) from the dividend after 10, then repeat: 101 / 310

On to step 3:
101 divided by 310 is 0 with a remainder of 101.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 101 leaves us with 101.
Take the next digit (7) from the dividend and append it to 101, then repeat: 1017 / 310

Let's proceed to step 4:
The number 310 fits into 1017 3 times, leaving a remainder of 87.
The next digit of our result is 3. 
Result so far: 3.0
If we take 930 away from 1017, we end up with 87.
Include the next digit (2) from the dividend after 87, then repeat: 872 / 310

Moving on to step 5:
If we divide 872 by 310, we get 2 and a remainder of 252.
Record the quotient 2 as the next digit in the result. 
Result so far: 32.0
The remainder is 252 after subtracting 620 from 872.
Bring next digit (1) of the dividend behind the 252 and repeat the process: 2521 / 310

Moving on to step 6:
310 can be fit into 2521 8 times, resulting in a remainder of 41.
The number 8 becomes the next digit in our result. 
Result so far: 328.0
Subtract 2480 from 2521 to get 41.
Grab the next digit (5) from the dividend, add it to 41, then carry on: 415 / 310

Let's proceed to step 7:
415 divided by 310 is 1 with a remainder of 105.
Record the quotient 1 as the next digit in the result. 
Result so far: 3281.0
Deduct 310 from 415 and we're left with 105.
Take the next digit (8) from the dividend and append it to 105, then repeat: 1058 / 310

Going ahead to step 8:
The number 310 fits into 1058 3 times, leaving a remainder of 128.
Use 3 as the next digit of our solution. 
Result so far: 32813.0
Deduct 930 from 1058 and we're left with 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

Going ahead to step 9:
When dividing 1280 by 310, we get 4 with a remainder of 40.
Record the quotient 4 as the next digit in the result. 
Result so far: 32813.4
Deduct 1240 from 1280 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 10:
310 can be fit into 400 1 times, resulting in a remainder of 90.
Write down 1 as next digit of the result. 
Result so far: 32813.41
If we subtract 310 from 400, we get 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Moving on to step 11:
900 divided by 310 is 2 with a remainder of 280.
The number 2 becomes the next digit in our result. 
Result so far: 32813.412
Subtract 620 from 900 to get 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Advancing to step 12:
If we divide 2800 by 310, we get 9 and a remainder of 10.
Use 9 as the next digit of our solution. 
Result so far: 32813.4129
The remainder is 10 after subtracting 2790 from 2800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 13:
310 goes into 100 0 times with a remainder of 100.
Use 0 as the next digit of our solution. 
Result so far: 32813.4129
Subtract 0 from 100 to get 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Going ahead to step 14:
If we divide 1000 by 310, we get 3 and a remainder of 70.
Use 3 as the next digit of our solution. 
Result so far: 32813.412903
If we take 930 away from 1000, we end up with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Advancing to step 15:
700 divided by 310 is 2 with a remainder of 80.
Record the quotient 2 as the next digit in the result. 
Result so far: 32813.4129032
Subtract 620 from 700 to get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Advancing to step 16:
If we divide 800 by 310, we get 2 and a remainder of 180.
Record the quotient 2 as the next digit in the result. 
Result so far: 32813.41290322
Subtracting 620 from 800 leaves us with 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

The quotient of the division is 32813.41290322, and the remainder is 1.8e-07.