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

Moving on to step 1:
When dividing 3 by 31, we get 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (5) from the dividend after 3, then repeat: 35 / 31

Advancing to step 2:
31 goes into 35 1 times with a remainder of 4.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 31 from 35 leaves us with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 31

On to step 3:
When dividing 40 by 31, we get 1 with a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 11.0
If we take 31 away from 40, we end up with 9.
Take the next digit (1) from the dividend and append it to 9, then repeat: 91 / 31

Advancing to step 4:
When dividing 91 by 31, we get 2 with a remainder of 29.
Record the quotient 2 as the next digit in the result. 
Result so far: 112.0
If we subtract 62 from 91, we get 29.
Append the next digit (8) from the dividend to 29 and continue with: 298 / 31

Step 5:
When dividing 298 by 31, we get 9 with a remainder of 19.
The number 9 becomes the next digit in our result. 
Result so far: 1129.0
Subtract 279 from 298 to get 19.
Grab the next digit (1) from the dividend, add it to 19, then carry on: 191 / 31

Advancing to step 6:
The number 31 fits into 191 6 times, leaving a remainder of 5.
The next digit of our result is 6. 
Result so far: 11296.0
Deduct 186 from 191 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.

Going ahead to step 7:
The number 31 fits into 50 1 times, leaving a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 11296.1
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.

Going ahead to step 8:
The number 31 fits into 190 6 times, leaving a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 11296.16
Deduct 186 from 190 and we're left 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.

Advancing to step 9:
The number 31 fits into 40 1 times, leaving a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 11296.161
If we take 31 away from 40, we end up 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.

Step 10:
31 can be fit into 90 2 times, resulting in a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 11296.1612
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 11:
The number 31 fits into 280 9 times, leaving a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 11296.16129
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 12:
31 can be fit into 10 0 times, resulting in a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 11296.16129
If we take 0 away from 10, we end up with 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 13:
100 divided by 31 is 3 with a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 11296.1612903
The remainder is 7 after subtracting 93 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 14:
The number 31 fits into 70 2 times, leaving a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 11296.16129032
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.

Our division results in 11296.16129032 with a remaining 8e-09.