504 = 23 × 32 × 7. It is: the sum between the smallest pair of amicable numbers (220, 284). a tribonacci number. a semi-meandric number.