login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A065992 Numbers k such that the sum of the nonsquare numbers from 1 to k is a square. 0
6, 12, 31, 40, 411, 1638, 2352, 9465, 263284, 647498, 1227466, 3179974, 4027111, 5382959, 29444851, 32585267, 50402546, 52610042, 98185445, 3750320631, 14471636075, 79389982446, 157183654414 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(24) > 2*10^12. - Donovan Johnson, Jan 16 2011
LINKS
EXAMPLE
12 is in the sequence because 2 + 3 + 5 + 6 + 7 + 8 + 10 + 11 + 12 = 64 = 8*8.
PROG
(PARI) isA065992(n) = {local(m); m=floor(sqrt(n)); if(n<2, 0, issquare((n*(n+1)/2)-(m*(m+1)*(2*m+1)/6)))} \\ Michael B. Porter, Feb 02 2010
CROSSREFS
Sequence in context: A119626 A152522 A096356 * A263587 A085611 A122608
KEYWORD
nonn
AUTHOR
Jonathan Ayres (jonathan.ayres(AT)ntlworld.com), Dec 10 2001
EXTENSIONS
a(20)-a(23) from Donovan Johnson, Jan 16 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 02:28 EDT 2024. Contains 371917 sequences. (Running on oeis4.)