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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A091084 mod(A001045(n),10). 0
0, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5, 1, 1, 3, 5 (list; graph; refs; listen; history; internal format)
OFFSET

0,4

COMMENTS

A001045(0), followed by A001045(1), A001045(2), A001045(3), A001045(4) repeating.

FORMULA

G.f.: x(1+x+3x^2+5x^3)/(1-x^4); E.g.f.: 2cos(x)-sin(x)+exp(-x)/2+5exp(x)/2-5; a(n)=2cos(pi*n/2)-sin(pi*n/2)+(-1)^n/2+5/2-5*0^n.

a(n)=-(1/12)*{(n mod 4)+[(n+1) mod 4]-5*[(n+2) mod 4]-17*[(n+3) mod 4]}-5*[C(2*n,n) mod 2], with n>=0 - Paolo P. Lava (paoloplava(AT)gmail.com), Jul 16 2008

MATHEMATICA

CoefficientList[Series[x (1+x+3x^2+5x^3)/(1-x^4), {x, 0, 150}], x]  (* From Harvey P. Dale, Mar 26 2011 *)

CROSSREFS

Sequence in context: A123701 A074903 A143303 * A016610 A141707 A190180

Adjacent sequences:  A091081 A091082 A091083 * A091085 A091086 A091087

KEYWORD

easy,nonn

AUTHOR

Paul Barry (pbarry(AT)wit.ie), Dec 18 2003

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 21:51 EST 2012. Contains 205978 sequences.