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!)
A133882 a(n) = binomial(n+2,n) mod 2^2. 6
1, 3, 2, 2, 3, 1, 0, 0, 1, 3, 2, 2, 3, 1, 0, 0, 1, 3, 2, 2, 3, 1, 0, 0, 1, 3, 2, 2, 3, 1, 0, 0, 1, 3, 2, 2, 3, 1, 0, 0, 1, 3, 2, 2, 3, 1, 0, 0, 1, 3, 2, 2, 3, 1, 0, 0, 1, 3, 2, 2, 3, 1, 0, 0, 1, 3, 2, 2, 3, 1, 0, 0, 1, 3, 2, 2, 3, 1, 0, 0, 1, 3, 2, 2, 3, 1, 0, 0, 1, 3, 2, 2, 3, 1, 0, 0, 1, 3, 2, 2, 3, 1, 0, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Periodic with length 2^3 = 8.
LINKS
FORMULA
a(n) = binomial(n+2,2) mod 2^2.
G.f.: (1 + 3*x + 2*x^2 + 2*x^3 + 3*x^4 + x^5)/(1-x^8).
G.f.: (1+x)*(1+2*x+2*x^3+x^4)/(1-x^8) = (1+2*x+2*x^3+x^4)/((1-x)*(1+x^2)*(1+x^4)).
a(n) = A105198(n+1). - R. J. Mathar, Jun 08 2008
MATHEMATICA
Table[Mod[Binomial[n+2, n], 4], {n, 0, 120}] (* Harvey P. Dale, Apr 16 2011 *)
PROG
(PARI) A133882(n) = (binomial(n+2, n) % 4); \\ Antti Karttunen, Aug 10 2017
CROSSREFS
For the sequence regarding "binomial(n+2, n) mod 2" see A133872.
A105198 shifted once left.
Sequence in context: A006379 A217956 A105198 * A092106 A278885 A183049
KEYWORD
nonn,easy
AUTHOR
Hieronymus Fischer, Oct 10 2007
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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)