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!)
A165578 Partial sums of A011627. 2
0, 1, 0, 1, 2, 3, 2, 1, 0, 1, 0, 1, 2, 1, 2, 3, 4, 5, 4, 5, 6, 5, 4, 3, 2, 3, 4, 5, 4, 3, 2, 1, 0, 1, 0, -1, 0, 1, 0, -1, -2, -3, -2, -1, 0, 1, 2, 1, 2, 3, 2, 3, 2, 3, 2, 3, 4, 5, 6, 5, 6, 7, 8, 7, 8, 7, 6, 5, 6, 5, 6, 7, 6, 5, 4, 5, 6, 5, 6, 5, 6, 7, 8, 9, 8, 9, 8, 7, 6, 5, 4, 5, 4, 3, 4, 5, 4, 5, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
Period 229.
LINKS
FORMULA
a(n) = -(a(n-1) + a(n-2) + ... + a(n-228)) = a(n-229). - Charles R Greathouse IV, Feb 11 2013
MATHEMATICA
Accumulate[JacobiSymbol[Range[0, 120], 229]] (* Harvey P. Dale, Feb 12 2022 *)
PROG
(PARI) a(n)=sum(k=1, n%229, kronecker(k, 229)) \\ Charles R Greathouse IV, Feb 11 2013
CROSSREFS
Sequence in context: A189511 A165592 A059285 * A020990 A260686 A037891
KEYWORD
sign,easy
AUTHOR
Antti Karttunen, Sep 22 2009
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 March 18 22:56 EDT 2024. Contains 370952 sequences. (Running on oeis4.)