12981257 divided by 582 
We want to divide 12981257 by 582.

On to step 1:
582 can be fit into 1 0 times, resulting in a remainder of 1.
The next digit of our result is 0. 
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 / 582

Let's proceed to step 2:
When dividing 12 by 582, we get 0 with a remainder of 12.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 12 after subtracting 0 from 12.
Take the next digit (9) from the dividend and append it to 12, then repeat: 129 / 582

Moving on to step 3:
129 divided by 582 is 0 with a remainder of 129.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 129, we end up with 129.
Grab the next digit (8) from the dividend, add it to 129, then carry on: 1298 / 582

Step 4:
When dividing 1298 by 582, we get 2 with a remainder of 134.
Write down 2 as next digit of the result. 
Result so far: 2.0
The remainder is 134 after subtracting 1164 from 1298.
Include the next digit (1) from the dividend after 134, then repeat: 1341 / 582

On to step 5:
1341 divided by 582 is 2 with a remainder of 177.
Use 2 as the next digit of our solution. 
Result so far: 22.0
If we subtract 1164 from 1341, we get 177.
Include the next digit (2) from the dividend after 177, then repeat: 1772 / 582

On to step 6:
1772 divided by 582 is 3 with a remainder of 26.
Record the quotient 3 as the next digit in the result. 
Result so far: 223.0
Subtract 1746 from 1772 to get 26.
Take the next digit (5) from the dividend and append it to 26, then repeat: 265 / 582

Advancing to step 7:
582 goes into 265 0 times with a remainder of 265.
Use 0 as the next digit of our solution. 
Result so far: 2230.0
Subtract 0 from 265 to get 265.
Include the next digit (7) from the dividend after 265, then repeat: 2657 / 582

Let's proceed to step 8:
When dividing 2657 by 582, we get 4 with a remainder of 329.
Put 4 as the next digit of the answer. 
Result so far: 22304.0
Subtract 2328 from 2657 to get 329.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3290, and continue the process.

Advancing to step 9:
582 goes into 3290 5 times with a remainder of 380.
Use 5 as the next digit of our solution. 
Result so far: 22304.5
Subtracting 2910 from 3290 leaves us with 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

Advancing to step 10:
When dividing 3800 by 582, we get 6 with a remainder of 308.
Record the quotient 6 as the next digit in the result. 
Result so far: 22304.56
Subtracting 3492 from 3800 leaves us with 308.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3080, and continue the process.

Moving on to step 11:
When dividing 3080 by 582, we get 5 with a remainder of 170.
Put 5 as the next digit of the answer. 
Result so far: 22304.565
Subtract 2910 from 3080 to get 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Step 12:
582 can be fit into 1700 2 times, resulting in a remainder of 536.
Use 2 as the next digit of our solution. 
Result so far: 22304.5652
If we subtract 1164 from 1700, we get 536.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5360, and continue the process.

Advancing to step 13:
5360 divided by 582 is 9 with a remainder of 122.
Use 9 as the next digit of our solution. 
Result so far: 22304.56529
Subtract 5238 from 5360 to get 122.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1220, and continue the process.

Step 14:
1220 divided by 582 is 2 with a remainder of 56.
Use 2 as the next digit of our solution. 
Result so far: 22304.565292
The remainder is 56 after subtracting 1164 from 1220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Advancing to step 15:
560 divided by 582 is 0 with a remainder of 560.
The number 0 becomes the next digit in our result. 
Result so far: 22304.565292
Deduct 0 from 560 and we're left with 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5600, and continue the process.

On to step 16:
When dividing 5600 by 582, we get 9 with a remainder of 362.
Write down 9 as next digit of the result. 
Result so far: 22304.56529209
Subtracting 5238 from 5600 leaves us with 362.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3620, and continue the process.

Our division results in 22304.56529209 with a remaining 3.62e-07.