We look at the division of 87289197 by 504 
Our goal is to divide 87289197 by 504.

Advancing to step 1:
When dividing 8 by 504, we get 0 with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 504

Advancing to step 2:
504 goes into 87 0 times with a remainder of 87.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 87 after subtracting 0 from 87.
Take the next digit (2) from the dividend and append it to 87, then repeat: 872 / 504

Going ahead to step 3:
If we divide 872 by 504, we get 1 and a remainder of 368.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 504 from 872, we get 368.
Grab the next digit (8) from the dividend, add it to 368, then carry on: 3688 / 504

Moving on to step 4:
If we divide 3688 by 504, we get 7 and a remainder of 160.
Record the quotient 7 as the next digit in the result. 
Result so far: 17.0
Subtracting 3528 from 3688 leaves us with 160.
Bring next digit (9) of the dividend behind the 160 and repeat the process: 1609 / 504

Advancing to step 5:
If we divide 1609 by 504, we get 3 and a remainder of 97.
The number 3 becomes the next digit in our result. 
Result so far: 173.0
Deduct 1512 from 1609 and we're left with 97.
Include the next digit (1) from the dividend after 97, then repeat: 971 / 504

Advancing to step 6:
The number 504 fits into 971 1 times, leaving a remainder of 467.
The number 1 becomes the next digit in our result. 
Result so far: 1731.0
If we subtract 504 from 971, we get 467.
Include the next digit (9) from the dividend after 467, then repeat: 4679 / 504

Step 7:
The number 504 fits into 4679 9 times, leaving a remainder of 143.
Put 9 as the next digit of the answer. 
Result so far: 17319.0
Subtract 4536 from 4679 to get 143.
Bring next digit (7) of the dividend behind the 143 and repeat the process: 1437 / 504

Let's proceed to step 8:
When dividing 1437 by 504, we get 2 with a remainder of 429.
The next digit of our result is 2. 
Result so far: 173192.0
The remainder is 429 after subtracting 1008 from 1437.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4290, and continue the process.

Advancing to step 9:
4290 divided by 504 is 8 with a remainder of 258.
The number 8 becomes the next digit in our result. 
Result so far: 173192.8
If we subtract 4032 from 4290, we get 258.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2580, and continue the process.

Moving on to step 10:
When dividing 2580 by 504, we get 5 with a remainder of 60.
Write down 5 as next digit of the result. 
Result so far: 173192.85
Subtract 2520 from 2580 to get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Going ahead to step 11:
The number 504 fits into 600 1 times, leaving a remainder of 96.
The next digit of our result is 1. 
Result so far: 173192.851
The remainder is 96 after subtracting 504 from 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Let's proceed to step 12:
When dividing 960 by 504, we get 1 with a remainder of 456.
Write down 1 as next digit of the result. 
Result so far: 173192.8511
The remainder is 456 after subtracting 504 from 960.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4560, and continue the process.

The final result is 173192.8511 with a remainder of 0.00456.