We divide 12585085 by 582
We want to figure out the number of times 12585085 can be divided by 582.

On to step 1:
The number 582 fits into 1 0 times, leaving a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 582

Step 2:
582 can be fit into 12 0 times, resulting in a remainder of 12.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 12 leaves us with 12.
Take the next digit (5) from the dividend and append it to 12, then repeat: 125 / 582

Step 3:
125 divided by 582 is 0 with a remainder of 125.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 125, we get 125.
Fetch the next digit (8) from the dividend, attach it to 125 and continue: 1258 / 582

Moving on to step 4:
582 goes into 1258 2 times with a remainder of 94.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtract 1164 from 1258 to get 94.
Fetch the next digit (5) from the dividend, attach it to 94 and continue: 945 / 582

On to step 5:
945 divided by 582 is 1 with a remainder of 363.
The next digit of our result is 1. 
Result so far: 21.0
The remainder is 363 after subtracting 582 from 945.
Fetch the next digit (0) from the dividend, attach it to 363 and continue: 3630 / 582

Moving on to step 6:
3630 divided by 582 is 6 with a remainder of 138.
Put 6 as the next digit of the answer. 
Result so far: 216.0
If we take 3492 away from 3630, we end up with 138.
Take the next digit (8) from the dividend and append it to 138, then repeat: 1388 / 582

Moving on to step 7:
1388 divided by 582 is 2 with a remainder of 224.
Put 2 as the next digit of the answer. 
Result so far: 2162.0
The remainder is 224 after subtracting 1164 from 1388.
Bring next digit (5) of the dividend behind the 224 and repeat the process: 2245 / 582

Advancing to step 8:
582 goes into 2245 3 times with a remainder of 499.
Record the quotient 3 as the next digit in the result. 
Result so far: 21623.0
If we subtract 1746 from 2245, we get 499.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4990, and continue the process.

Going ahead to step 9:
If we divide 4990 by 582, we get 8 and a remainder of 334.
Put 8 as the next digit of the answer. 
Result so far: 21623.8
The remainder is 334 after subtracting 4656 from 4990.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3340, and continue the process.

Moving on to step 10:
582 goes into 3340 5 times with a remainder of 430.
Record the quotient 5 as the next digit in the result. 
Result so far: 21623.85
The remainder is 430 after subtracting 2910 from 3340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4300, and continue the process.

Step 11:
If we divide 4300 by 582, we get 7 and a remainder of 226.
The next digit of our result is 7. 
Result so far: 21623.857
Deduct 4074 from 4300 and we're left with 226.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2260, and continue the process.

Advancing to step 12:
When dividing 2260 by 582, we get 3 with a remainder of 514.
The number 3 becomes the next digit in our result. 
Result so far: 21623.8573
Subtract 1746 from 2260 to get 514.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5140, and continue the process.

Moving on to step 13:
582 can be fit into 5140 8 times, resulting in a remainder of 484.
The next digit of our result is 8. 
Result so far: 21623.85738
If we subtract 4656 from 5140, we get 484.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4840, and continue the process.

Moving on to step 14:
4840 divided by 582 is 8 with a remainder of 184.
Put 8 as the next digit of the answer. 
Result so far: 21623.857388
Subtract 4656 from 4840 to get 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Our division results in 21623.857388 with a remaining 1.84e-05.