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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A132677 Triperiodic or period 3: repeat 1, 2, -3. 1
1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -3, 1, 2, -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

Sequence proportional to its 6n-th differences.

a(n)=(1/3)*{-4*(n mod 3)+5*[(n+1) mod 3]-[(n+2) mod 3]} - Paolo P. Lava (paoloplava(AT)gmail.com), Nov 30 2007

G.f.: (1+3*x)/(1+x+x^2) [From Jaume Oliver Lafont (joliverlafont(AT)gmail.com), Mar 24 2009]

a(n) = cos(2*Pi*n/3)+5*sin(2*Pi*n/3)/sqrt(3). - R. J. Mathar, Oct 08 2011

PROG

(PARI) a(n)=[1, 2, -3][1+n%3] [From Jaume Oliver Lafont (joliverlafont(AT)gmail.com), Mar 24 2009]

CROSSREFS

Cf. A049347, A000748, A101544.

Sequence in context: A179542 A082846 A117373 * A010882 A106590 A194074

Adjacent sequences:  A132674 A132675 A132676 * A132678 A132679 A132680

KEYWORD

sign,easy

AUTHOR

Paul Curtz (bpcrtz(AT)free.fr), Nov 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 16 09:27 EST 2012. Contains 205904 sequences.