We divide 48177874 by 504
The aim is to understand the frequency of 504 in 48177874.

Advancing to step 1:
504 goes into 4 0 times with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Grab the next digit (8) from the dividend, add it to 4, then carry on: 48 / 504

Moving on to step 2:
When dividing 48 by 504, we get 0 with a remainder of 48.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 48, we get 48.
Append the next digit (1) from the dividend to 48 and continue with: 481 / 504

On to step 3:
When dividing 481 by 504, we get 0 with a remainder of 481.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 481 and we're left with 481.
Bring next digit (7) of the dividend behind the 481 and repeat the process: 4817 / 504

Going ahead to step 4:
The number 504 fits into 4817 9 times, leaving a remainder of 281.
Put 9 as the next digit of the answer. 
Result so far: 9.0
Deduct 4536 from 4817 and we're left with 281.
Take the next digit (7) from the dividend and append it to 281, then repeat: 2817 / 504

On to step 5:
When dividing 2817 by 504, we get 5 with a remainder of 297.
Write down 5 as next digit of the result. 
Result so far: 95.0
If we subtract 2520 from 2817, we get 297.
Grab the next digit (8) from the dividend, add it to 297, then carry on: 2978 / 504

Going ahead to step 6:
If we divide 2978 by 504, we get 5 and a remainder of 458.
The number 5 becomes the next digit in our result. 
Result so far: 955.0
If we take 2520 away from 2978, we end up with 458.
Take the next digit (7) from the dividend and append it to 458, then repeat: 4587 / 504

Let's proceed to step 7:
When dividing 4587 by 504, we get 9 with a remainder of 51.
Record the quotient 9 as the next digit in the result. 
Result so far: 9559.0
If we take 4536 away from 4587, we end up with 51.
Bring next digit (4) of the dividend behind the 51 and repeat the process: 514 / 504

Moving on to step 8:
514 divided by 504 is 1 with a remainder of 10.
The number 1 becomes the next digit in our result. 
Result so far: 95591.0
The remainder is 10 after subtracting 504 from 514.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 9:
504 goes into 100 0 times with a remainder of 100.
Put 0 as the next digit of the answer. 
Result so far: 95591.0
Subtracting 0 from 100 leaves us with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Step 10:
504 goes into 1000 1 times with a remainder of 496.
The number 1 becomes the next digit in our result. 
Result so far: 95591.01
Subtract 504 from 1000 to get 496.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4960, and continue the process.

On to step 11:
When dividing 4960 by 504, we get 9 with a remainder of 424.
Use 9 as the next digit of our solution. 
Result so far: 95591.019
If we take 4536 away from 4960, we end up with 424.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4240, and continue the process.

Going ahead to step 12:
4240 divided by 504 is 8 with a remainder of 208.
Write down 8 as next digit of the result. 
Result so far: 95591.0198
If we subtract 4032 from 4240, we get 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

Step 13:
When dividing 2080 by 504, we get 4 with a remainder of 64.
Use 4 as the next digit of our solution. 
Result so far: 95591.01984
Deduct 2016 from 2080 and we're left with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Advancing to step 14:
504 goes into 640 1 times with a remainder of 136.
The number 1 becomes the next digit in our result. 
Result so far: 95591.019841
The remainder is 136 after subtracting 504 from 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

On to step 15:
1360 divided by 504 is 2 with a remainder of 352.
The next digit of our result is 2. 
Result so far: 95591.0198412
Deduct 1008 from 1360 and we're left with 352.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3520, and continue the process.

Advancing to step 16:
504 can be fit into 3520 6 times, resulting in a remainder of 496.
Record the quotient 6 as the next digit in the result. 
Result so far: 95591.01984126
The remainder is 496 after subtracting 3024 from 3520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4960, and continue the process.

After the division, we end up with 95591.01984126 and a remainder of 4.96e-07.