Let's divide 2915583 by 504
We want to figure out the number of times 2915583 can be divided by 504.

Moving on to step 1:
If we divide 2 by 504, we get 0 and a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Append the next digit (9) from the dividend to 2 and continue with: 29 / 504

Let's proceed to step 2:
29 divided by 504 is 0 with a remainder of 29.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 29 and we're left with 29.
Bring next digit (1) of the dividend behind the 29 and repeat the process: 291 / 504

Going ahead to step 3:
The number 504 fits into 291 0 times, leaving a remainder of 291.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 291, we get 291.
Include the next digit (5) from the dividend after 291, then repeat: 2915 / 504

Moving on to step 4:
504 can be fit into 2915 5 times, resulting in a remainder of 395.
The next digit of our result is 5. 
Result so far: 5.0
Deduct 2520 from 2915 and we're left with 395.
Append the next digit (5) from the dividend to 395 and continue with: 3955 / 504

Let's proceed to step 5:
When dividing 3955 by 504, we get 7 with a remainder of 427.
Put 7 as the next digit of the answer. 
Result so far: 57.0
Subtract 3528 from 3955 to get 427.
Include the next digit (8) from the dividend after 427, then repeat: 4278 / 504

Let's proceed to step 6:
When dividing 4278 by 504, we get 8 with a remainder of 246.
Record the quotient 8 as the next digit in the result. 
Result so far: 578.0
If we subtract 4032 from 4278, we get 246.
Bring next digit (3) of the dividend behind the 246 and repeat the process: 2463 / 504

Going ahead to step 7:
504 goes into 2463 4 times with a remainder of 447.
Use 4 as the next digit of our solution. 
Result so far: 5784.0
Subtracting 2016 from 2463 leaves us with 447.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4470, and continue the process.

Advancing to step 8:
If we divide 4470 by 504, we get 8 and a remainder of 438.
Put 8 as the next digit of the answer. 
Result so far: 5784.8
Subtracting 4032 from 4470 leaves us with 438.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4380, and continue the process.

On to step 9:
504 can be fit into 4380 8 times, resulting in a remainder of 348.
Write down 8 as next digit of the result. 
Result so far: 5784.88
Subtract 4032 from 4380 to get 348.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3480, and continue the process.

The quotient of the division is 5784.88, and the remainder is 0.348.