OFFSET
1,2
COMMENTS
Fermat's polygonal number theorem states that every positive integer is a sum of at most n n-gonal numbers. The triangular case was proved in 1796 by Gauss (Eureka theorem), stating that every positive integer is the sum of at most three triangular numbers. This sequence is based on this representation as a sum of the minimal number of triangular numbers.
EXAMPLE
a(2) = 16 = 1 + 15 = 6 + 10 is the smallest number with two representations.
a(3) = 40 = 1 + 3 + 36 = 6 + 6 + 28 = 10 + 15 + 15 is the smallest number with three representations.
a(4) = 75 = 3 + 6 + 66 = 3 + 36 + 36 = 10 + 10 + 55 = 15 + 15 + 45 is the smallest number with four representations.
CROSSREFS
KEYWORD
nonn
AUTHOR
Martin Renner, May 24 2015
STATUS
approved