Let's divide 20523258 by 502
We're looking to find how many times 502 goes into 20523258.

Let's proceed to step 1:
502 can be fit into 2 0 times, resulting in a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Take the next digit (0) from the dividend and append it to 2, then repeat: 20 / 502

Step 2:
502 can be fit into 20 0 times, resulting in a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 20, we end up with 20.
Take the next digit (5) from the dividend and append it to 20, then repeat: 205 / 502

Step 3:
205 divided by 502 is 0 with a remainder of 205.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 205 leaves us with 205.
Grab the next digit (2) from the dividend, add it to 205, then carry on: 2052 / 502

Moving on to step 4:
If we divide 2052 by 502, we get 4 and a remainder of 44.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtract 2008 from 2052 to get 44.
Include the next digit (3) from the dividend after 44, then repeat: 443 / 502

Let's proceed to step 5:
If we divide 443 by 502, we get 0 and a remainder of 443.
The next digit of our result is 0. 
Result so far: 40.0
Subtract 0 from 443 to get 443.
Fetch the next digit (2) from the dividend, attach it to 443 and continue: 4432 / 502

Moving on to step 6:
502 can be fit into 4432 8 times, resulting in a remainder of 416.
The next digit of our result is 8. 
Result so far: 408.0
Subtracting 4016 from 4432 leaves us with 416.
Fetch the next digit (5) from the dividend, attach it to 416 and continue: 4165 / 502

Going ahead to step 7:
502 can be fit into 4165 8 times, resulting in a remainder of 149.
Use 8 as the next digit of our solution. 
Result so far: 4088.0
Subtracting 4016 from 4165 leaves us with 149.
Grab the next digit (8) from the dividend, add it to 149, then carry on: 1498 / 502

Moving on to step 8:
The number 502 fits into 1498 2 times, leaving a remainder of 494.
Write down 2 as next digit of the result. 
Result so far: 40882.0
The remainder is 494 after subtracting 1004 from 1498.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4940, and continue the process.

Moving on to step 9:
502 can be fit into 4940 9 times, resulting in a remainder of 422.
Use 9 as the next digit of our solution. 
Result so far: 40882.9
If we take 4518 away from 4940, we end up with 422.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4220, and continue the process.

Step 10:
When dividing 4220 by 502, we get 8 with a remainder of 204.
The next digit of our result is 8. 
Result so far: 40882.98
Subtracting 4016 from 4220 leaves us with 204.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2040, and continue the process.

On to step 11:
2040 divided by 502 is 4 with a remainder of 32.
Put 4 as the next digit of the answer. 
Result so far: 40882.984
The remainder is 32 after subtracting 2008 from 2040.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 12:
When dividing 320 by 502, we get 0 with a remainder of 320.
Record the quotient 0 as the next digit in the result. 
Result so far: 40882.984
The remainder is 320 after subtracting 0 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Advancing to step 13:
502 goes into 3200 6 times with a remainder of 188.
Put 6 as the next digit of the answer. 
Result so far: 40882.98406
Subtracting 3012 from 3200 leaves us with 188.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1880, and continue the process.

On to step 14:
502 goes into 1880 3 times with a remainder of 374.
The number 3 becomes the next digit in our result. 
Result so far: 40882.984063
Deduct 1506 from 1880 and we're left with 374.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3740, and continue the process.

Moving on to step 15:
502 goes into 3740 7 times with a remainder of 226.
Record the quotient 7 as the next digit in the result. 
Result so far: 40882.9840637
Deduct 3514 from 3740 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.

Going ahead to step 16:
502 goes into 2260 4 times with a remainder of 252.
Record the quotient 4 as the next digit in the result. 
Result so far: 40882.98406374
The remainder is 252 after subtracting 2008 from 2260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2520, and continue the process.

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