18240459 ÷ 504 
We're looking to find how many times 504 goes into 18240459.

Let's proceed to step 1:
The number 504 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 504

Advancing to step 2:
18 divided by 504 is 0 with a remainder of 18.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 18 to get 18.
Fetch the next digit (2) from the dividend, attach it to 18 and continue: 182 / 504

Let's proceed to step 3:
The number 504 fits into 182 0 times, leaving a remainder of 182.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 182 and we're left with 182.
Fetch the next digit (4) from the dividend, attach it to 182 and continue: 1824 / 504

Advancing to step 4:
504 goes into 1824 3 times with a remainder of 312.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Deduct 1512 from 1824 and we're left with 312.
Fetch the next digit (0) from the dividend, attach it to 312 and continue: 3120 / 504

Let's proceed to step 5:
504 goes into 3120 6 times with a remainder of 96.
The number 6 becomes the next digit in our result. 
Result so far: 36.0
The remainder is 96 after subtracting 3024 from 3120.
Include the next digit (4) from the dividend after 96, then repeat: 964 / 504

Moving on to step 6:
504 goes into 964 1 times with a remainder of 460.
The number 1 becomes the next digit in our result. 
Result so far: 361.0
If we subtract 504 from 964, we get 460.
Include the next digit (5) from the dividend after 460, then repeat: 4605 / 504

Advancing to step 7:
When dividing 4605 by 504, we get 9 with a remainder of 69.
Write down 9 as next digit of the result. 
Result so far: 3619.0
The remainder is 69 after subtracting 4536 from 4605.
Bring next digit (9) of the dividend behind the 69 and repeat the process: 699 / 504

Step 8:
When dividing 699 by 504, we get 1 with a remainder of 195.
The next digit of our result is 1. 
Result so far: 36191.0
Subtracting 504 from 699 leaves us with 195.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1950, and continue the process.

Let's proceed to step 9:
When dividing 1950 by 504, we get 3 with a remainder of 438.
Put 3 as the next digit of the answer. 
Result so far: 36191.3
Subtract 1512 from 1950 to get 438.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4380, and continue the process.

Going ahead to step 10:
4380 divided by 504 is 8 with a remainder of 348.
Put 8 as the next digit of the answer. 
Result so far: 36191.38
Deduct 4032 from 4380 and we're left with 348.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3480, and continue the process.

Going ahead to step 11:
If we divide 3480 by 504, we get 6 and a remainder of 456.
Write down 6 as next digit of the result. 
Result so far: 36191.386
Subtract 3024 from 3480 to get 456.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4560, and continue the process.

Advancing to step 12:
4560 divided by 504 is 9 with a remainder of 24.
Record the quotient 9 as the next digit in the result. 
Result so far: 36191.3869
The remainder is 24 after subtracting 4536 from 4560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 13:
The number 504 fits into 240 0 times, leaving a remainder of 240.
The number 0 becomes the next digit in our result. 
Result so far: 36191.3869
Subtracting 0 from 240 leaves us with 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Advancing to step 14:
If we divide 2400 by 504, we get 4 and a remainder of 384.
The number 4 becomes the next digit in our result. 
Result so far: 36191.386904
Subtract 2016 from 2400 to get 384.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3840, and continue the process.

Going ahead to step 15:
504 goes into 3840 7 times with a remainder of 312.
Record the quotient 7 as the next digit in the result. 
Result so far: 36191.3869047
If we subtract 3528 from 3840, we get 312.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3120, and continue the process.

Step 16:
504 goes into 3120 6 times with a remainder of 96.
Put 6 as the next digit of the answer. 
Result so far: 36191.38690476
Subtracting 3024 from 3120 leaves us with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

After the division, we end up with 36191.38690476 and a remainder of 9.6e-08.