We look at the division of 21257837 by 582 
We're looking to find how many times 582 goes into 21257837.

Advancing to step 1:
2 divided by 582 is 0 with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Append the next digit (1) from the dividend to 2 and continue with: 21 / 582

On to step 2:
582 can be fit into 21 0 times, resulting in a remainder of 21.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 21 to get 21.
Grab the next digit (2) from the dividend, add it to 21, then carry on: 212 / 582

Let's proceed to step 3:
When dividing 212 by 582, we get 0 with a remainder of 212.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 212 leaves us with 212.
Grab the next digit (5) from the dividend, add it to 212, then carry on: 2125 / 582

On to step 4:
If we divide 2125 by 582, we get 3 and a remainder of 379.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtracting 1746 from 2125 leaves us with 379.
Include the next digit (7) from the dividend after 379, then repeat: 3797 / 582

On to step 5:
582 goes into 3797 6 times with a remainder of 305.
The number 6 becomes the next digit in our result. 
Result so far: 36.0
Subtract 3492 from 3797 to get 305.
Grab the next digit (8) from the dividend, add it to 305, then carry on: 3058 / 582

Going ahead to step 6:
3058 divided by 582 is 5 with a remainder of 148.
Write down 5 as next digit of the result. 
Result so far: 365.0
Deduct 2910 from 3058 and we're left with 148.
Include the next digit (3) from the dividend after 148, then repeat: 1483 / 582

Let's proceed to step 7:
When dividing 1483 by 582, we get 2 with a remainder of 319.
The next digit of our result is 2. 
Result so far: 3652.0
Subtracting 1164 from 1483 leaves us with 319.
Grab the next digit (7) from the dividend, add it to 319, then carry on: 3197 / 582

Advancing to step 8:
582 can be fit into 3197 5 times, resulting in a remainder of 287.
Use 5 as the next digit of our solution. 
Result so far: 36525.0
The remainder is 287 after subtracting 2910 from 3197.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2870, and continue the process.

Step 9:
If we divide 2870 by 582, we get 4 and a remainder of 542.
Use 4 as the next digit of our solution. 
Result so far: 36525.4
The remainder is 542 after subtracting 2328 from 2870.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5420, and continue the process.

Going ahead to step 10:
If we divide 5420 by 582, we get 9 and a remainder of 182.
Use 9 as the next digit of our solution. 
Result so far: 36525.49
Deduct 5238 from 5420 and we're left with 182.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1820, and continue the process.

On to step 11:
If we divide 1820 by 582, we get 3 and a remainder of 74.
Record the quotient 3 as the next digit in the result. 
Result so far: 36525.493
If we subtract 1746 from 1820, we get 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Let's proceed to step 12:
If we divide 740 by 582, we get 1 and a remainder of 158.
Write down 1 as next digit of the result. 
Result so far: 36525.4931
If we subtract 582 from 740, we get 158.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1580, and continue the process.

On to step 13:
582 can be fit into 1580 2 times, resulting in a remainder of 416.
Record the quotient 2 as the next digit in the result. 
Result so far: 36525.49312
If we take 1164 away from 1580, we end up with 416.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4160, and continue the process.

Advancing to step 14:
The number 582 fits into 4160 7 times, leaving a remainder of 86.
The number 7 becomes the next digit in our result. 
Result so far: 36525.493127
If we take 4074 away from 4160, we end up with 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

Step 15:
The number 582 fits into 860 1 times, leaving a remainder of 278.
The next digit of our result is 1. 
Result so far: 36525.4931271
Deduct 582 from 860 and we're left with 278.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2780, and continue the process.

Going ahead to step 16:
If we divide 2780 by 582, we get 4 and a remainder of 452.
Write down 4 as next digit of the result. 
Result so far: 36525.49312714
Subtract 2328 from 2780 to get 452.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4520, and continue the process.

After the division, we end up with 36525.49312714 and a remainder of 4.52e-07.