We're dividing 12974101 by 509 
Let's see how many times 509 fits into 12974101.

On to step 1:
The number 509 fits into 1 0 times, leaving a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 509

On to step 2:
509 goes into 12 0 times with a remainder of 12.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 12 after subtracting 0 from 12.
Grab the next digit (9) from the dividend, add it to 12, then carry on: 129 / 509

Advancing to step 3:
509 goes into 129 0 times with a remainder of 129.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 129, we end up with 129.
Grab the next digit (7) from the dividend, add it to 129, then carry on: 1297 / 509

Moving on to step 4:
The number 509 fits into 1297 2 times, leaving a remainder of 279.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 1018 from 1297, we get 279.
Append the next digit (4) from the dividend to 279 and continue with: 2794 / 509

Let's proceed to step 5:
2794 divided by 509 is 5 with a remainder of 249.
Put 5 as the next digit of the answer. 
Result so far: 25.0
The remainder is 249 after subtracting 2545 from 2794.
Fetch the next digit (1) from the dividend, attach it to 249 and continue: 2491 / 509

Going ahead to step 6:
2491 divided by 509 is 4 with a remainder of 455.
The next digit of our result is 4. 
Result so far: 254.0
If we take 2036 away from 2491, we end up with 455.
Grab the next digit (0) from the dividend, add it to 455, then carry on: 4550 / 509

Moving on to step 7:
509 can be fit into 4550 8 times, resulting in a remainder of 478.
The number 8 becomes the next digit in our result. 
Result so far: 2548.0
Deduct 4072 from 4550 and we're left with 478.
Append the next digit (1) from the dividend to 478 and continue with: 4781 / 509

Going ahead to step 8:
When dividing 4781 by 509, we get 9 with a remainder of 200.
Use 9 as the next digit of our solution. 
Result so far: 25489.0
Subtracting 4581 from 4781 leaves us with 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

Let's proceed to step 9:
509 can be fit into 2000 3 times, resulting in a remainder of 473.
Put 3 as the next digit of the answer. 
Result so far: 25489.3
If we subtract 1527 from 2000, we get 473.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4730, and continue the process.

On to step 10:
The number 509 fits into 4730 9 times, leaving a remainder of 149.
The next digit of our result is 9. 
Result so far: 25489.39
If we take 4581 away from 4730, we end up with 149.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1490, and continue the process.

Let's proceed to step 11:
When dividing 1490 by 509, we get 2 with a remainder of 472.
The number 2 becomes the next digit in our result. 
Result so far: 25489.392
Subtract 1018 from 1490 to get 472.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4720, and continue the process.

Going ahead to step 12:
509 goes into 4720 9 times with a remainder of 139.
The number 9 becomes the next digit in our result. 
Result so far: 25489.3929
Subtracting 4581 from 4720 leaves us with 139.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1390, and continue the process.

Moving on to step 13:
509 can be fit into 1390 2 times, resulting in a remainder of 372.
The number 2 becomes the next digit in our result. 
Result so far: 25489.39292
If we take 1018 away from 1390, we end up with 372.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3720, and continue the process.

Moving on to step 14:
509 can be fit into 3720 7 times, resulting in a remainder of 157.
Put 7 as the next digit of the answer. 
Result so far: 25489.392927
Deduct 3563 from 3720 and we're left with 157.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1570, and continue the process.

Let's proceed to step 15:
The number 509 fits into 1570 3 times, leaving a remainder of 43.
Use 3 as the next digit of our solution. 
Result so far: 25489.3929273
Subtract 1527 from 1570 to get 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Let's proceed to step 16:
509 can be fit into 430 0 times, resulting in a remainder of 430.
Use 0 as the next digit of our solution. 
Result so far: 25489.3929273
Subtracting 0 from 430 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.

The final result is 25489.3929273 with a remainder of 4.3e-07.