login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A152167 a(n)=-a(n-1)+3*a(n-2), n>1 ; a(0)=1, a(1)=-3 . 4
1, -3, 6, -15, 33, -78, 177, -411, 942, -2175, 5001, -11526, 26529, -61107, 140694, -324015, 746097, -1718142, 3956433, -9110859, 20980158, -48312735, 111253209, -256191414, 589951041, -1358525283, 3128378406, -7203954255, 16589089473 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: (1-2*x)/(1+x-3*x^2).
a(n) = (-1)^n*A105476(n+1).
a(n) = Sum{k=0..n} A147703(n,k)*(-4)^k.
MATHEMATICA
LinearRecurrence[{-1, 3}, {1, -3}, 30] (* Harvey P. Dale, Dec 24 2013 *)
PROG
(PARI) Vec((1-2*x)/(1+x-3*x^2)+O(x^99)) \\ Charles R Greathouse IV, Jan 11 2012
CROSSREFS
Sequence in context: A232973 A289006 A336632 * A105476 A000599 A063832
KEYWORD
sign,easy
AUTHOR
Philippe Deléham, Nov 27 2008
EXTENSIONS
a(19) corrected by Charles R Greathouse IV, Jan 11 2012
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 30 20:43 EDT 2024. Contains 372141 sequences. (Running on oeis4.)