We look at the division of 12986 by 505 
We want to divide 12986 by 505.

Step 1:
The number 505 fits into 1 0 times, leaving a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 505

On to step 2:
The number 505 fits into 12 0 times, leaving a remainder of 12.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 12 and we're left with 12.
Take the next digit (9) from the dividend and append it to 12, then repeat: 129 / 505

Let's proceed to step 3:
When dividing 129 by 505, we get 0 with a remainder of 129.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 129 after subtracting 0 from 129.
Fetch the next digit (8) from the dividend, attach it to 129 and continue: 1298 / 505

Going ahead to step 4:
505 can be fit into 1298 2 times, resulting in a remainder of 288.
The next digit of our result is 2. 
Result so far: 2.0
If we subtract 1010 from 1298, we get 288.
Include the next digit (6) from the dividend after 288, then repeat: 2886 / 505

On to step 5:
The number 505 fits into 2886 5 times, leaving a remainder of 361.
Use 5 as the next digit of our solution. 
Result so far: 25.0
Subtract 2525 from 2886 to get 361.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3610, and continue the process.

Step 6:
The number 505 fits into 3610 7 times, leaving a remainder of 75.
Record the quotient 7 as the next digit in the result. 
Result so far: 25.7
Subtract 3535 from 3610 to get 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Going ahead to step 7:
750 divided by 505 is 1 with a remainder of 245.
The number 1 becomes the next digit in our result. 
Result so far: 25.71
Subtract 505 from 750 to get 245.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2450, and continue the process.

Advancing to step 8:
When dividing 2450 by 505, we get 4 with a remainder of 430.
Record the quotient 4 as the next digit in the result. 
Result so far: 25.714
Subtracting 2020 from 2450 leaves us with 430.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4300, and continue the process.

Going ahead to step 9:
When dividing 4300 by 505, we get 8 with a remainder of 260.
Put 8 as the next digit of the answer. 
Result so far: 25.7148
Subtracting 4040 from 4300 leaves us with 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

Let's proceed to step 10:
505 can be fit into 2600 5 times, resulting in a remainder of 75.
Record the quotient 5 as the next digit in the result. 
Result so far: 25.71485
If we take 2525 away from 2600, we end up with 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Step 11:
750 divided by 505 is 1 with a remainder of 245.
The next digit of our result is 1. 
Result so far: 25.714851
Subtracting 505 from 750 leaves us with 245.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2450, and continue the process.

Going ahead to step 12:
If we divide 2450 by 505, we get 4 and a remainder of 430.
The next digit of our result is 4. 
Result so far: 25.7148514
Deduct 2020 from 2450 and we're left with 430.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4300, and continue the process.

On to step 13:
4300 divided by 505 is 8 with a remainder of 260.
The number 8 becomes the next digit in our result. 
Result so far: 25.71485148
Deduct 4040 from 4300 and we're left with 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

The quotient of the division is 25.71485148, and the remainder is 2.6e-07.