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”).

A075405
a(n)^2 is the square obtained in A075404 (or 0 if no such square exists).
4
70, 0, 5, 0, 0, 0, 92, 0, 106, 0, 2001863, 0, 652, 0, 679, 0, 138, 77, 0, 29, 724, 413, 0, 0, 182, 0, 253, 385, 0, 1612, 0, 8687, 0, 0, 0, 0, 0, 143, 0, 0, 0, 0, 0, 274, 0, 0, 0, 0, 0, 1281, 0, 1012, 0, 0, 121268, 0, 0, 56855, 0, 440, 0, 0, 0, 3069, 2725, 0, 655, 0, 0, 0, 0, 0, 1525, 4035066, 0, 430, 0, 0, 0, 0, 0, 0, 2619, 0, 0, 0, 795, 0, 0, 0, 3465, 0, 0, 0, 0, 0, 0, 0, 0, 0
OFFSET
1,1
REFERENCES
See A180244.
EXAMPLE
a(1) = 70 because 1^2+...+24^2 = a(1)^2 = 70^2.
MATHEMATICA
s[n_, k_]:=Module[{m=n+k-1}, (m(m+1)(2m+1)-n(n-1)(2n-1))/6]; mx=40000; Table[k=2; While[k<mx && !IntegerQ[Sqrt[s[n, k]]], k++]; If[k==mx, 0, Sqrt[s[n, k]]], {n, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Sep 13 2002
EXTENSIONS
Corrected and extended by Lior Manor Sep 19 2002
Corrected and edited by T. D. Noe, Jan 21 2011
STATUS
approved