login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A035305
Minimum sum of n distinct positive numbers, any n-1 of which sum to a square.
1
1, 5, 55, 122, 633, 911, 2210, 3156, 4908, 8656, 13018, 17426, 25968, 33135, 45374, 57128, 74543, 93673, 116973, 144454, 175564, 207031, 258150, 304708, 362466, 416117, 490029, 562590, 660993, 756963, 855786, 984152, 1106930, 1243237, 1413817, 1587606, 1766365, 1965706, 2181532, 2393220
OFFSET
1,2
LINKS
Haikin Fedor, Table for partition problem (1998)
FORMULA
a(n) = smallest integer s such that there exist nonnegative integers x1 < x2 < ... < xn < sqrt(s) satisfying s*(n-1) = x1^2 + x2^2 + ... + xn^2. The n numbers stated in the definition are then given by s-x1^2, ..., s-xn^2. - Max Alekseyev, May 29 2024
EXAMPLE
a(2)=5 because 5=1+4 and both 1 and 4 are squares.
a(3)=55 because 55=6+19+30 and all three of 25=6+19, 36=6+30 and 49=19+30 are squares.
CROSSREFS
Sequence in context: A216446 A307991 A015221 * A292455 A292735 A057722
KEYWORD
nonn,nice
EXTENSIONS
Link edited by N. J. A. Sloane, Jan 26 2009 at the suggestion of Steven Finch.
a(1)=1 prepended by Max Alekseyev, May 21 2022
Terms a(31) onward from Max Alekseyev, May 29 2024
STATUS
approved