8878182 ÷ 504 
The aim is to understand the frequency of 504 in 8878182.

Step 1:
If we divide 8 by 504, we get 0 and a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Bring next digit (8) of the dividend behind the 8 and repeat the process: 88 / 504

Moving on to step 2:
When dividing 88 by 504, we get 0 with a remainder of 88.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 88 leaves us with 88.
Fetch the next digit (7) from the dividend, attach it to 88 and continue: 887 / 504

Advancing to step 3:
504 goes into 887 1 times with a remainder of 383.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 383 after subtracting 504 from 887.
Bring next digit (8) of the dividend behind the 383 and repeat the process: 3838 / 504

Advancing to step 4:
504 goes into 3838 7 times with a remainder of 310.
The next digit of our result is 7. 
Result so far: 17.0
If we take 3528 away from 3838, we end up with 310.
Grab the next digit (1) from the dividend, add it to 310, then carry on: 3101 / 504

Advancing to step 5:
The number 504 fits into 3101 6 times, leaving a remainder of 77.
Record the quotient 6 as the next digit in the result. 
Result so far: 176.0
Deduct 3024 from 3101 and we're left with 77.
Include the next digit (8) from the dividend after 77, then repeat: 778 / 504

On to step 6:
504 goes into 778 1 times with a remainder of 274.
Record the quotient 1 as the next digit in the result. 
Result so far: 1761.0
If we subtract 504 from 778, we get 274.
Include the next digit (2) from the dividend after 274, then repeat: 2742 / 504

Going ahead to step 7:
504 goes into 2742 5 times with a remainder of 222.
Record the quotient 5 as the next digit in the result. 
Result so far: 17615.0
The remainder is 222 after subtracting 2520 from 2742.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2220, and continue the process.

On to step 8:
2220 divided by 504 is 4 with a remainder of 204.
Put 4 as the next digit of the answer. 
Result so far: 17615.4
Subtracting 2016 from 2220 leaves us with 204.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2040, and continue the process.

Step 9:
When dividing 2040 by 504, we get 4 with a remainder of 24.
Put 4 as the next digit of the answer. 
Result so far: 17615.44
Subtracting 2016 from 2040 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Our division results in 17615.44 with a remaining 0.024.