login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A113046 Diagonal sums of number triangle binomial(n, floor((n-k)/2)) mod 3. 2
1, 1, 3, 1, 1, 3, 5, 5, 6, 3, 3, 3, 3, 3, 3, 1, 1, 9, 11, 11, 12, 5, 5, 15, 16, 10, 12, 6, 6, 9, 9, 6, 6, 3, 3, 9, 9, 9, 9, 3, 3, 9, 9, 6, 6, 3, 3, 3, 3, 3, 3, 1, 1, 27, 29, 29, 30, 11, 11, 33, 34, 22, 24, 12, 12, 15, 15, 12, 12, 5, 5, 45, 46, 28, 30, 16, 16, 30, 32, 23, 24, 12, 12, 18, 18, 12 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

Diagonal sums of A113045.

LINKS

Antti Karttunen, Table of n, a(n) for n = 0..10000

FORMULA

a(n) = Sum_{k=0..floor(n/2)} binomial(n-k, floor((n-2k)/2)) mod 3.

MAPLE

A113046:=n->add(binomial(n-k, floor((n-2*k)/2)) mod 3, k=0..floor(n/2)): seq(A113046(n), n=0..150); # Wesley Ivan Hurt, Jul 25 2017

PROG

(PARI) A113046(n) = sum(k=0, n\2, binomial(n-k, ((n-(2*k))\2))%3); \\ Antti Karttunen, Jul 24 2017

CROSSREFS

Cf. A113045.

Sequence in context: A016599 A079650 A094644 * A245541 A209563 A133825

Adjacent sequences:  A113043 A113044 A113045 * A113047 A113048 A113049

KEYWORD

easy,nonn

AUTHOR

Paul Barry, Oct 11 2005

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 20 16:26 EDT 2019. Contains 324234 sequences. (Running on oeis4.)