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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A130815 Period 6: repeat 1,5,4,-1,-5,-4. 4
1, 5, 4, -1, -5, -4, 1, 5, 4, -1, -5, -4, 1, 5, 4, -1, -5, -4, 1, 5, 4, -1, -5, -4, 1, 5, 4, -1, -5, -4, 1, 5, 4, -1, -5, -4, 1, 5, 4, -1, -5, -4, 1, 5, 4, -1, -5, -4, 1, 5, 4, -1, -5, -4, 1, 5, 4, -1, -5, -4, 1, 5, 4, -1, -5, -4, 1, 5, 4, -1, -5, -4 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

LINKS

Index entries for sequences related to linear recurrences with constant coefficients, signature (1,-1).

FORMULA

Also binomial transform of 1 4 -5 .

a(n)=(1/6)*{-5*(n mod 6)-[(n+1) mod 6]+4*[(n+2) mod 6]+5*[(n+3) mod 6]+[(n+4) mod 6]-4*[(n+5) mod 6]}, with n>=0. - Paolo P. Lava (paoloplava(AT)gmail.com), Aug 28 2007

G.f.: (1+4x)/(1-x+x^2). a(n)= A010892(n)+4*A010892(n-1). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Oct 30 2008]

PROG

(PARI) a(n)=[1, 5, 4, -1, -5, -4][n%6+1] \\ Charles R Greathouse IV, Jun 02 2011

CROSSREFS

Sequence in context: A087707 A198352 A113011 * A084129 A011503 A195297

Adjacent sequences:  A130812 A130813 A130814 * A130816 A130817 A130818

KEYWORD

sign,easy,less

AUTHOR

Paul Curtz (bpcrtz(AT)free.fr), Jul 16 2007

EXTENSIONS

Edited by N. J. A. Sloane (njas(AT)research.att.com), Sep 15 2007

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 17 19:13 EST 2012. Contains 206085 sequences.