We're dividing 51727036 by 504 
The aim is to understand the frequency of 504 in 51727036.

Let's proceed to step 1:
504 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 504

Going ahead to step 2:
When dividing 51 by 504, we get 0 with a remainder of 51.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 51 and we're left with 51.
Bring next digit (7) of the dividend behind the 51 and repeat the process: 517 / 504

Let's proceed to step 3:
504 can be fit into 517 1 times, resulting in a remainder of 13.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 504 from 517, we get 13.
Grab the next digit (2) from the dividend, add it to 13, then carry on: 132 / 504

Step 4:
504 goes into 132 0 times with a remainder of 132.
The next digit of our result is 0. 
Result so far: 10.0
Subtracting 0 from 132 leaves us with 132.
Grab the next digit (7) from the dividend, add it to 132, then carry on: 1327 / 504

Step 5:
1327 divided by 504 is 2 with a remainder of 319.
Write down 2 as next digit of the result. 
Result so far: 102.0
If we subtract 1008 from 1327, we get 319.
Include the next digit (0) from the dividend after 319, then repeat: 3190 / 504

On to step 6:
When dividing 3190 by 504, we get 6 with a remainder of 166.
The next digit of our result is 6. 
Result so far: 1026.0
The remainder is 166 after subtracting 3024 from 3190.
Append the next digit (3) from the dividend to 166 and continue with: 1663 / 504

On to step 7:
The number 504 fits into 1663 3 times, leaving a remainder of 151.
The number 3 becomes the next digit in our result. 
Result so far: 10263.0
If we take 1512 away from 1663, we end up with 151.
Include the next digit (6) from the dividend after 151, then repeat: 1516 / 504

Let's proceed to step 8:
1516 divided by 504 is 3 with a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 102633.0
If we take 1512 away from 1516, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 9:
40 divided by 504 is 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 102633.0
Deduct 0 from 40 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 10:
The number 504 fits into 400 0 times, leaving a remainder of 400.
Put 0 as the next digit of the answer. 
Result so far: 102633.0
Subtracting 0 from 400 leaves us with 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

The quotient of the division is 102633.0, and the remainder is 0.4.