39565956 divided by 504 
Let's see how many times 504 fits into 39565956.

On to step 1:
504 goes into 3 0 times with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 504

Let's proceed to step 2:
39 divided by 504 is 0 with a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 39 to get 39.
Take the next digit (5) from the dividend and append it to 39, then repeat: 395 / 504

On to step 3:
The number 504 fits into 395 0 times, leaving a remainder of 395.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 395 after subtracting 0 from 395.
Bring next digit (6) of the dividend behind the 395 and repeat the process: 3956 / 504

Let's proceed to step 4:
3956 divided by 504 is 7 with a remainder of 428.
Write down 7 as next digit of the result. 
Result so far: 7.0
Subtracting 3528 from 3956 leaves us with 428.
Bring next digit (5) of the dividend behind the 428 and repeat the process: 4285 / 504

Step 5:
4285 divided by 504 is 8 with a remainder of 253.
Record the quotient 8 as the next digit in the result. 
Result so far: 78.0
If we take 4032 away from 4285, we end up with 253.
Grab the next digit (9) from the dividend, add it to 253, then carry on: 2539 / 504

Going ahead to step 6:
The number 504 fits into 2539 5 times, leaving a remainder of 19.
Record the quotient 5 as the next digit in the result. 
Result so far: 785.0
Deduct 2520 from 2539 and we're left with 19.
Append the next digit (5) from the dividend to 19 and continue with: 195 / 504

Step 7:
504 goes into 195 0 times with a remainder of 195.
The number 0 becomes the next digit in our result. 
Result so far: 7850.0
The remainder is 195 after subtracting 0 from 195.
Append the next digit (6) from the dividend to 195 and continue with: 1956 / 504

Advancing to step 8:
504 can be fit into 1956 3 times, resulting in a remainder of 444.
The number 3 becomes the next digit in our result. 
Result so far: 78503.0
If we subtract 1512 from 1956, we get 444.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4440, and continue the process.

Step 9:
When dividing 4440 by 504, we get 8 with a remainder of 408.
Put 8 as the next digit of the answer. 
Result so far: 78503.8
Subtracting 4032 from 4440 leaves us with 408.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4080, and continue the process.

Let's proceed to step 10:
504 goes into 4080 8 times with a remainder of 48.
The next digit of our result is 8. 
Result so far: 78503.88
If we take 4032 away from 4080, we end up with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

The final result is 78503.88 with a remainder of 0.048.