We divide 12731 by 35
Let's see how many times 35 fits into 12731.

Going ahead to step 1:
35 goes into 1 0 times with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Append the next digit (2) from the dividend to 1 and continue with: 12 / 35

Moving on to step 2:
12 divided by 35 is 0 with a remainder of 12.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 12 and we're left with 12.
Include the next digit (7) from the dividend after 12, then repeat: 127 / 35

Step 3:
The number 35 fits into 127 3 times, leaving a remainder of 22.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtract 105 from 127 to get 22.
Include the next digit (3) from the dividend after 22, then repeat: 223 / 35

Moving on to step 4:
35 goes into 223 6 times with a remainder of 13.
Write down 6 as next digit of the result. 
Result so far: 36.0
If we take 210 away from 223, we end up with 13.
Grab the next digit (1) from the dividend, add it to 13, then carry on: 131 / 35

Going ahead to step 5:
35 goes into 131 3 times with a remainder of 26.
The number 3 becomes the next digit in our result. 
Result so far: 363.0
Subtract 105 from 131 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 6:
When dividing 260 by 35, we get 7 with a remainder of 15.
Use 7 as the next digit of our solution. 
Result so far: 363.7
Subtracting 245 from 260 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 7:
When dividing 150 by 35, we get 4 with a remainder of 10.
Put 4 as the next digit of the answer. 
Result so far: 363.74
If we take 140 away from 150, 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.

Moving on to step 8:
When dividing 100 by 35, we get 2 with a remainder of 30.
The next digit of our result is 2. 
Result so far: 363.742
If we take 70 away from 100, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 9:
The number 35 fits into 300 8 times, leaving a remainder of 20.
Use 8 as the next digit of our solution. 
Result so far: 363.7428
Subtracting 280 from 300 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 10:
The number 35 fits into 200 5 times, leaving a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 363.74285
The remainder is 25 after subtracting 175 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 11:
250 divided by 35 is 7 with a remainder of 5.
Put 7 as the next digit of the answer. 
Result so far: 363.742857
Subtract 245 from 250 to 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.

Moving on to step 12:
When dividing 50 by 35, we get 1 with a remainder of 15.
The number 1 becomes the next digit in our result. 
Result so far: 363.7428571
If we take 35 away from 50, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 13:
When dividing 150 by 35, we get 4 with a remainder of 10.
Put 4 as the next digit of the answer. 
Result so far: 363.74285714
Deduct 140 from 150 and we're left 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.

After the division, we end up with 363.74285714 and a remainder of 1e-08.