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

Going ahead to step 1:
If we divide 8 by 504, we get 0 and a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Grab the next digit (0) from the dividend, add it to 8, then carry on: 80 / 504

Step 2:
When dividing 80 by 504, we get 0 with a remainder of 80.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 80 leaves us with 80.
Append the next digit (0) from the dividend to 80 and continue with: 800 / 504

Advancing to step 3:
The number 504 fits into 800 1 times, leaving a remainder of 296.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 504 from 800, we get 296.
Take the next digit (8) from the dividend and append it to 296, then repeat: 2968 / 504

Moving on to step 4:
504 can be fit into 2968 5 times, resulting in a remainder of 448.
Write down 5 as next digit of the result. 
Result so far: 15.0
If we subtract 2520 from 2968, we get 448.
Append the next digit (7) from the dividend to 448 and continue with: 4487 / 504

Going ahead to step 5:
504 goes into 4487 8 times with a remainder of 455.
Write down 8 as next digit of the result. 
Result so far: 158.0
Deduct 4032 from 4487 and we're left with 455.
Fetch the next digit (5) from the dividend, attach it to 455 and continue: 4555 / 504

Advancing to step 6:
The number 504 fits into 4555 9 times, leaving a remainder of 19.
Put 9 as the next digit of the answer. 
Result so far: 1589.0
If we subtract 4536 from 4555, we get 19.
Take the next digit (3) from the dividend and append it to 19, then repeat: 193 / 504

Advancing to step 7:
193 divided by 504 is 0 with a remainder of 193.
The number 0 becomes the next digit in our result. 
Result so far: 15890.0
Deduct 0 from 193 and we're left with 193.
Fetch the next digit (8) from the dividend, attach it to 193 and continue: 1938 / 504

Going ahead to step 8:
The number 504 fits into 1938 3 times, leaving a remainder of 426.
Use 3 as the next digit of our solution. 
Result so far: 158903.0
Subtracting 1512 from 1938 leaves us with 426.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4260, and continue the process.

Let's proceed to step 9:
If we divide 4260 by 504, we get 8 and a remainder of 228.
Write down 8 as next digit of the result. 
Result so far: 158903.8
If we take 4032 away from 4260, we end up with 228.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2280, and continue the process.

Going ahead to step 10:
When dividing 2280 by 504, we get 4 with a remainder of 264.
Put 4 as the next digit of the answer. 
Result so far: 158903.84
If we take 2016 away from 2280, we end up with 264.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

Let's proceed to step 11:
If we divide 2640 by 504, we get 5 and a remainder of 120.
Put 5 as the next digit of the answer. 
Result so far: 158903.845
If we subtract 2520 from 2640, we get 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Going ahead to step 12:
1200 divided by 504 is 2 with a remainder of 192.
The number 2 becomes the next digit in our result. 
Result so far: 158903.8452
Subtracting 1008 from 1200 leaves us with 192.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1920, and continue the process.

Let's proceed to step 13:
1920 divided by 504 is 3 with a remainder of 408.
Put 3 as the next digit of the answer. 
Result so far: 158903.84523
The remainder is 408 after subtracting 1512 from 1920.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4080, and continue the process.

Step 14:
504 goes into 4080 8 times with a remainder of 48.
Write down 8 as next digit of the result. 
Result so far: 158903.845238
Subtracting 4032 from 4080 leaves us with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Going ahead to step 15:
If we divide 480 by 504, we get 0 and a remainder of 480.
Record the quotient 0 as the next digit in the result. 
Result so far: 158903.845238
Deduct 0 from 480 and we're left with 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

On to step 16:
504 can be fit into 4800 9 times, resulting in a remainder of 264.
The next digit of our result is 9. 
Result so far: 158903.84523809
Deduct 4536 from 4800 and we're left with 264.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

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