Let's divide 79209823 by 504
The aim is to understand the frequency of 504 in 79209823.

Going ahead to step 1:
7 divided by 504 is 0 with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Bring next digit (9) of the dividend behind the 7 and repeat the process: 79 / 504

Advancing to step 2:
79 divided by 504 is 0 with a remainder of 79.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 79, we get 79.
Include the next digit (2) from the dividend after 79, then repeat: 792 / 504

Moving on to step 3:
When dividing 792 by 504, we get 1 with a remainder of 288.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 504 from 792 and we're left with 288.
Bring next digit (0) of the dividend behind the 288 and repeat the process: 2880 / 504

Advancing to step 4:
When dividing 2880 by 504, we get 5 with a remainder of 360.
Put 5 as the next digit of the answer. 
Result so far: 15.0
If we take 2520 away from 2880, we end up with 360.
Fetch the next digit (9) from the dividend, attach it to 360 and continue: 3609 / 504

Going ahead to step 5:
504 can be fit into 3609 7 times, resulting in a remainder of 81.
The next digit of our result is 7. 
Result so far: 157.0
The remainder is 81 after subtracting 3528 from 3609.
Fetch the next digit (8) from the dividend, attach it to 81 and continue: 818 / 504

Step 6:
504 goes into 818 1 times with a remainder of 314.
Put 1 as the next digit of the answer. 
Result so far: 1571.0
If we subtract 504 from 818, we get 314.
Grab the next digit (2) from the dividend, add it to 314, then carry on: 3142 / 504

Going ahead to step 7:
504 can be fit into 3142 6 times, resulting in a remainder of 118.
The next digit of our result is 6. 
Result so far: 15716.0
Subtract 3024 from 3142 to get 118.
Fetch the next digit (3) from the dividend, attach it to 118 and continue: 1183 / 504

Advancing to step 8:
The number 504 fits into 1183 2 times, leaving a remainder of 175.
Record the quotient 2 as the next digit in the result. 
Result so far: 157162.0
The remainder is 175 after subtracting 1008 from 1183.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1750, and continue the process.

Step 9:
504 can be fit into 1750 3 times, resulting in a remainder of 238.
Write down 3 as next digit of the result. 
Result so far: 157162.3
If we subtract 1512 from 1750, we get 238.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2380, and continue the process.

On to step 10:
The number 504 fits into 2380 4 times, leaving a remainder of 364.
The next digit of our result is 4. 
Result so far: 157162.34
If we subtract 2016 from 2380, we get 364.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3640, and continue the process.

On to step 11:
If we divide 3640 by 504, we get 7 and a remainder of 112.
Put 7 as the next digit of the answer. 
Result so far: 157162.347
Subtracting 3528 from 3640 leaves us with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

On to step 12:
If we divide 1120 by 504, we get 2 and a remainder of 112.
Record the quotient 2 as the next digit in the result. 
Result so far: 157162.3472
Subtracting 1008 from 1120 leaves us with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Advancing to step 13:
504 can be fit into 1120 2 times, resulting in a remainder of 112.
The number 2 becomes the next digit in our result. 
Result so far: 157162.34722
Subtract 1008 from 1120 to get 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

In conclusion, the division gives 157162.34722 with a balance of 0.000112.