OFFSET
1,2
COMMENTS
Other sequences with every partial sum yielding a square are (1) a(n) = n^3, but n^3 (though a multiple of n) is not the smallest such number for n >3. (2) a(n) = 2n-1.
FORMULA
For n>16, a(n) = 48n if n is odd, 96n if n is even.
EXAMPLE
a(4) = 28 as 1+8+27+28 = 64 = 8^2.
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Jun 05 2003
EXTENSIONS
Edited by Dean Hickerson, Jul 20 2003
STATUS
approved