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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A122099 a(0)=1, a(1)=1, a(2)=0, a(n)=-3*a(n-1)+a(n-3) for n>2. 3
1, 1, 0, 1, -2, 6, -17, 49, -141, 406, -1169, 3366, -9692, 27907, -80355, 231373, -666212, 1918281, -5523470, 15904198, -45794313, 131859469, -379674209, 1093228314, -3147825473, 9063802210, -26098178316, 75146709475, -216376326215, 623030800329, -1793945691512, 5165460748321 (list; graph; refs; listen; history; internal format)
OFFSET

0,5

LINKS

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

FORMULA

G.f.: (1+4*x+3*x^2)/(1+3*x-x^3).

MATHEMATICA

Transpose[NestList[{#[[2]], Last[#], First[#]-3Last[#]}&, {1, 1, 0}, 35]][[1]]  (* From Harvey P. Dale, Mar 13 2011 *)

PROG

(PARI) Vec((1+4*x+3*x^2)/(1+3*x-x^3)+O(x^99)) \\ Charles R Greathouse IV, Jan 17 2012

CROSSREFS

Sequence in context: A036365 A052536 A122100 * A026165 A148445 A148446

Adjacent sequences:  A122096 A122097 A122098 * A122100 A122101 A122102

KEYWORD

sign,easy,less

AUTHOR

Philippe DELEHAM (kolotoko(AT)wanadoo.fr), Oct 18 2006

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 07:41 EST 2012. Contains 205998 sequences.