The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A117448 Diagonal sums of number triangle A117446. 2
1, 0, 1, 1, 1, -1, 2, -1, 2, 0, 2, -2, 3, -2, 3, -1, 3, -3, 4, -3, 4, -2, 4, -4, 5, -4, 5, -3, 5, -5, 6, -5, 6, -4, 6, -6, 7, -6, 7, -5, 7, -7, 8, -7, 8, -6, 8, -8, 9, -8, 9, -7, 9, -9, 10, -9, 10, -8, 10, -10, 11, -10, 11, -9, 11, -11, 12, -11, 12, -10, 12, -12, 13, -12, 13, -11, 13, -13 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,7
LINKS
FORMULA
a(n) = Sum_{k=0..floor(n/2)} binomial(L(k/3), n-2k), where L(j/p) is the Legendre symbol of j and p.
MATHEMATICA
Table[Sum[Binomial[JacobiSymbol[k, 3], n-2*k], {k, 0, Floor[n/2]}], {n, 0, 80}] (* G. C. Greubel, Jun 02 2021 *)
PROG
(Sage) [sum( binomial(kronecker(k, 3), n-2*k) for k in (0..n//2) ) for n in (0..80)] # G. C. Greubel, Jun 02 2021
CROSSREFS
Sequence in context: A335884 A325033 A333626 * A093321 A302015 A046144
KEYWORD
easy,sign
AUTHOR
Paul Barry, Mar 16 2006
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 May 14 10:07 EDT 2024. Contains 372532 sequences. (Running on oeis4.)