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!)
A330386 Running totals in A330385. 2
1, 4, 0, 9, 16, 4, 9, 1, 16, 0, 25, 36, 49, 25, 64, 81, 100, 121, 144, 100, 64, 36, 16, 49, 9, 36, 4, 49, 1, 36, 121, 49, 100, 36, 169, 256, 196, 225, 256, 361, 484, 400, 441, 484, 625, 529, 576, 625, 784, 841, 900, 961, 1024, 1089, 1156, 1225, 1296, 1369 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
All terms are nonnegative squares.
LINKS
FORMULA
a(n) = - Sum_{k = 1..n } A330385(k) * (-1)^A330385(k).
PROG
(PARI) s=t=0; for (n=1, 58, for (v=1, oo, if (!bittest(s, v) && issquare(u=t-v*(-1)^v), print1 (t=u ", "); s+=2^v; break)))
CROSSREFS
Sequence in context: A187027 A187850 A186965 * A098487 A174381 A184363
KEYWORD
nonn,look
AUTHOR
Rémy Sigrist, Dec 12 2019
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 August 28 16:44 EDT 2024. Contains 375508 sequences. (Running on oeis4.)