1,2

See also A001227 = number of ways to write n as difference of triangular numbers. - M. F. Hasler, Apr 20 2014

Table of n, a(n) for n=1..50.

a(3) = 5 because the possible integers are 1,2,3=1+2,5=2+3,6=1+2+3.

Sequence in context: A175098 A242067 A127722 * A060419 A005766 A211538

Adjacent sequences: A234810 A234811 A234812 * A234814 A234815 A234816

nonn

Jeffrey Shallit, Apr 19 2014

approved