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

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

0,2

LINKS

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

FORMULA

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

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

PROG

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

CROSSREFS

Sequence in context: A119505 A201518 A168616 * A200490 A016499 A066204

Adjacent sequences:  A130803 A130804 A130805 * A130807 A130808 A130809

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 15 21:56 EST 2012. Contains 205860 sequences.