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

Let's proceed to step 1:
When dividing 3 by 504, we get 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (4) from the dividend after 3, then repeat: 34 / 504

Step 2:
The number 504 fits into 34 0 times, leaving a remainder of 34.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 34 to get 34.
Bring next digit (9) of the dividend behind the 34 and repeat the process: 349 / 504

On to step 3:
The number 504 fits into 349 0 times, leaving a remainder of 349.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 349 and we're left with 349.
Take the next digit (8) from the dividend and append it to 349, then repeat: 3498 / 504

Going ahead to step 4:
If we divide 3498 by 504, we get 6 and a remainder of 474.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Deduct 3024 from 3498 and we're left with 474.
Grab the next digit (9) from the dividend, add it to 474, then carry on: 4749 / 504

On to step 5:
4749 divided by 504 is 9 with a remainder of 213.
Put 9 as the next digit of the answer. 
Result so far: 69.0
If we take 4536 away from 4749, we end up with 213.
Bring next digit (5) of the dividend behind the 213 and repeat the process: 2135 / 504

Moving on to step 6:
The number 504 fits into 2135 4 times, leaving a remainder of 119.
The next digit of our result is 4. 
Result so far: 694.0
Subtracting 2016 from 2135 leaves us with 119.
Append the next digit (7) from the dividend to 119 and continue with: 1197 / 504

On to step 7:
If we divide 1197 by 504, we get 2 and a remainder of 189.
Use 2 as the next digit of our solution. 
Result so far: 6942.0
Subtracting 1008 from 1197 leaves us with 189.
Take the next digit (9) from the dividend and append it to 189, then repeat: 1899 / 504

Going ahead to step 8:
The number 504 fits into 1899 3 times, leaving a remainder of 387.
The next digit of our result is 3. 
Result so far: 69423.0
The remainder is 387 after subtracting 1512 from 1899.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3870, and continue the process.

Let's proceed to step 9:
The number 504 fits into 3870 7 times, leaving a remainder of 342.
The next digit of our result is 7. 
Result so far: 69423.7
Subtract 3528 from 3870 to get 342.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3420, and continue the process.

On to step 10:
If we divide 3420 by 504, we get 6 and a remainder of 396.
Write down 6 as next digit of the result. 
Result so far: 69423.76
Subtract 3024 from 3420 to get 396.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3960, and continue the process.

Step 11:
504 goes into 3960 7 times with a remainder of 432.
The next digit of our result is 7. 
Result so far: 69423.767
The remainder is 432 after subtracting 3528 from 3960.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4320, and continue the process.

Step 12:
When dividing 4320 by 504, we get 8 with a remainder of 288.
Write down 8 as next digit of the result. 
Result so far: 69423.7678
Deduct 4032 from 4320 and we're left with 288.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2880, and continue the process.

Going ahead to step 13:
If we divide 2880 by 504, we get 5 and a remainder of 360.
Write down 5 as next digit of the result. 
Result so far: 69423.76785
If we subtract 2520 from 2880, we get 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3600, and continue the process.

Advancing to step 14:
3600 divided by 504 is 7 with a remainder of 72.
Write down 7 as next digit of the result. 
Result so far: 69423.767857
If we subtract 3528 from 3600, we get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Let's proceed to step 15:
504 can be fit into 720 1 times, resulting in a remainder of 216.
The next digit of our result is 1. 
Result so far: 69423.7678571
The remainder is 216 after subtracting 504 from 720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Going ahead to step 16:
The number 504 fits into 2160 4 times, leaving a remainder of 144.
The number 4 becomes the next digit in our result. 
Result so far: 69423.76785714
Deduct 2016 from 2160 and we're left with 144.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1440, and continue the process.

Our division results in 69423.76785714 with a remaining 1.44e-07.