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

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

Step 2:
14 divided by 504 is 0 with a remainder of 14.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 14 to get 14.
Take the next digit (8) from the dividend and append it to 14, then repeat: 148 / 504

Moving on to step 3:
504 goes into 148 0 times with a remainder of 148.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 148 and we're left with 148.
Take the next digit (1) from the dividend and append it to 148, then repeat: 1481 / 504

Going ahead to step 4:
504 goes into 1481 2 times with a remainder of 473.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 1008 from 1481 to get 473.
Include the next digit (7) from the dividend after 473, then repeat: 4737 / 504

Let's proceed to step 5:
504 goes into 4737 9 times with a remainder of 201.
Put 9 as the next digit of the answer. 
Result so far: 29.0
If we take 4536 away from 4737, we end up with 201.
Include the next digit (8) from the dividend after 201, then repeat: 2018 / 504

Moving on to step 6:
504 goes into 2018 4 times with a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 294.0
Deduct 2016 from 2018 and we're left with 2.
Grab the next digit (8) from the dividend, add it to 2, then carry on: 28 / 504

Let's proceed to step 7:
The number 504 fits into 28 0 times, leaving a remainder of 28.
The number 0 becomes the next digit in our result. 
Result so far: 2940.0
Subtract 0 from 28 to get 28.
Append the next digit (1) from the dividend to 28 and continue with: 281 / 504

Step 8:
504 goes into 281 0 times with a remainder of 281.
Use 0 as the next digit of our solution. 
Result so far: 29400.0
If we take 0 away from 281, we end up with 281.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2810, and continue the process.

Let's proceed to step 9:
504 can be fit into 2810 5 times, resulting in a remainder of 290.
The next digit of our result is 5. 
Result so far: 29400.5
Subtract 2520 from 2810 to get 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2900, and continue the process.

Going ahead to step 10:
2900 divided by 504 is 5 with a remainder of 380.
Use 5 as the next digit of our solution. 
Result so far: 29400.55
If we take 2520 away from 2900, we end up with 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

The final outcome is 29400.55, with a leftover of 0.38.