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!)
A212015 Nonsquare positive integers that are sums of consecutive integer squares. 4
2, 5, 6, 10, 13, 14, 15, 19, 28, 29, 30, 31, 35, 41, 44, 50, 54, 55, 56, 60, 61, 69, 77, 85, 86, 90, 91, 92, 96, 105, 110, 113, 126, 135, 139, 140, 141, 145, 146, 149, 154, 170, 174, 181, 182, 190, 194, 195, 199, 203, 204, 205, 209, 218, 221, 230, 231 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Nonsquare terms of A062861.
Subsequence of A212016.
LINKS
MAPLE
filter:= proc(n)
not issqr(n) and
ormap(k -> issqr(-3*k^4+3*k^2+36*k*n) and ((3*k-3*k^2+sqrt(-3*k^4+3*k^2+36*k*n))/(6*k))::integer,
numtheory:-divisors(6*n))
end proc:
select(filter, [$1..1000]); # Robert Israel, Jan 22 2017
MATHEMATICA
filterQ[n_] := !IntegerQ[Sqrt[n]] && AnyTrue[Divisors[6n], IntegerQ[Sqrt[-3 #^4 + 3 #^2 + 36 # n]] && IntegerQ[(3 # - 3 #^2 + Sqrt[-3 #^4 + 3 #^2 + 36 # n])/(6#)]&];
Select[Range[1000], filterQ] (* Jean-François Alcover, Jun 08 2020, after Maple *)
CROSSREFS
Sequence in context: A187231 A162340 A212016 * A255341 A089269 A047440
KEYWORD
nonn
AUTHOR
Max Alekseyev, Apr 26 2012
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 17 23:23 EDT 2024. Contains 371767 sequences. (Running on oeis4.)