504 = 6 * 84 = 12 * 42 = 24 * 21 = 18 * 28, presumably a combination of 18(0) for the summer half year (when sun is 'present') and 28 for the number of nights in the month when sun light is seen reflected on the moon.