Let's divide 162146 by 31
We want to figure out the number of times 162146 can be divided by 31.

Going ahead to step 1:
1 divided by 31 is 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 31

Let's proceed to step 2:
When dividing 16 by 31, we get 0 with a remainder of 16.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 16, we get 16.
Grab the next digit (2) from the dividend, add it to 16, then carry on: 162 / 31

Advancing to step 3:
162 divided by 31 is 5 with a remainder of 7.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we subtract 155 from 162, we get 7.
Take the next digit (1) from the dividend and append it to 7, then repeat: 71 / 31

Let's proceed to step 4:
The number 31 fits into 71 2 times, leaving a remainder of 9.
The number 2 becomes the next digit in our result. 
Result so far: 52.0
If we subtract 62 from 71, we get 9.
Include the next digit (4) from the dividend after 9, then repeat: 94 / 31

Moving on to step 5:
94 divided by 31 is 3 with a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 523.0
Subtracting 93 from 94 leaves us with 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 31

Let's proceed to step 6:
31 goes into 16 0 times with a remainder of 16.
Write down 0 as next digit of the result. 
Result so far: 5230.0
If we take 0 away from 16, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 7:
The number 31 fits into 160 5 times, leaving a remainder of 5.
The next digit of our result is 5. 
Result so far: 5230.5
Deduct 155 from 160 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 8:
50 divided by 31 is 1 with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 5230.51
Subtracting 31 from 50 leaves us 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.

Step 9:
31 goes into 190 6 times with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 5230.516
Subtracting 186 from 190 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 10:
When dividing 40 by 31, we get 1 with a remainder of 9.
The next digit of our result is 1. 
Result so far: 5230.5161
Deduct 31 from 40 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 11:
90 divided by 31 is 2 with a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 5230.51612
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.

Step 12:
When dividing 280 by 31, we get 9 with a remainder of 1.
The next digit of our result is 9. 
Result so far: 5230.516129
If we take 279 away from 280, we end up 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 13:
The number 31 fits into 10 0 times, leaving a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 5230.516129
If we subtract 0 from 10, we 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.

Going ahead to step 14:
When dividing 100 by 31, we get 3 with a remainder of 7.
The next digit of our result is 3. 
Result so far: 5230.51612903
Subtract 93 from 100 to 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.

The quotient of the division is 5230.51612903, and the remainder is 7e-09.