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

Going ahead to step 1:
When dividing 5 by 504, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 504

Moving on to step 2:
The number 504 fits into 58 0 times, leaving a remainder of 58.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 58 to get 58.
Take the next digit (8) from the dividend and append it to 58, then repeat: 588 / 504

Step 3:
When dividing 588 by 504, we get 1 with a remainder of 84.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 504 from 588, we get 84.
Append the next digit (7) from the dividend to 84 and continue with: 847 / 504

Let's proceed to step 4:
If we divide 847 by 504, we get 1 and a remainder of 343.
Use 1 as the next digit of our solution. 
Result so far: 11.0
If we take 504 away from 847, we end up with 343.
Include the next digit (8) from the dividend after 343, then repeat: 3438 / 504

Let's proceed to step 5:
504 can be fit into 3438 6 times, resulting in a remainder of 414.
Write down 6 as next digit of the result. 
Result so far: 116.0
If we subtract 3024 from 3438, we get 414.
Append the next digit (5) from the dividend to 414 and continue with: 4145 / 504

Moving on to step 6:
504 can be fit into 4145 8 times, resulting in a remainder of 113.
Put 8 as the next digit of the answer. 
Result so far: 1168.0
The remainder is 113 after subtracting 4032 from 4145.
Bring next digit (3) of the dividend behind the 113 and repeat the process: 1133 / 504

Let's proceed to step 7:
504 goes into 1133 2 times with a remainder of 125.
Record the quotient 2 as the next digit in the result. 
Result so far: 11682.0
If we take 1008 away from 1133, we end up with 125.
Fetch the next digit (7) from the dividend, attach it to 125 and continue: 1257 / 504

Let's proceed to step 8:
504 can be fit into 1257 2 times, resulting in a remainder of 249.
Record the quotient 2 as the next digit in the result. 
Result so far: 116822.0
The remainder is 249 after subtracting 1008 from 1257.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2490, and continue the process.

Moving on to step 9:
2490 divided by 504 is 4 with a remainder of 474.
Put 4 as the next digit of the answer. 
Result so far: 116822.4
Subtract 2016 from 2490 to get 474.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4740, and continue the process.

On to step 10:
4740 divided by 504 is 9 with a remainder of 204.
Put 9 as the next digit of the answer. 
Result so far: 116822.49
Subtract 4536 from 4740 to get 204.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2040, and continue the process.

Moving on to step 11:
The number 504 fits into 2040 4 times, leaving a remainder of 24.
The number 4 becomes the next digit in our result. 
Result so far: 116822.494
Subtract 2016 from 2040 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 12:
504 can be fit into 240 0 times, resulting in a remainder of 240.
The next digit of our result is 0. 
Result so far: 116822.494
Subtract 0 from 240 to get 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

On to step 13:
When dividing 2400 by 504, we get 4 with a remainder of 384.
Write down 4 as next digit of the result. 
Result so far: 116822.49404
The remainder is 384 after subtracting 2016 from 2400.
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 14:
When dividing 3840 by 504, we get 7 with a remainder of 312.
Use 7 as the next digit of our solution. 
Result so far: 116822.494047
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.

Let's proceed to step 15:
504 goes into 3120 6 times with a remainder of 96.
Record the quotient 6 as the next digit in the result. 
Result so far: 116822.4940476
Subtract 3024 from 3120 to get 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Going ahead to step 16:
504 goes into 960 1 times with a remainder of 456.
The next digit of our result is 1. 
Result so far: 116822.49404761
Deduct 504 from 960 and we're left with 456.
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 116822.49404761 with a remainder of 4.56e-07.