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

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A077886 Expansion of (1-x)^(-1)/(1+2*x^3). 3
1, 1, 1, -1, -1, -1, 3, 3, 3, -5, -5, -5, 11, 11, 11, -21, -21, -21, 43, 43, 43, -85, -85, -85, 171, 171, 171, -341, -341, -341, 683, 683, 683, -1365, -1365, -1365, 2731, 2731, 2731, -5461, -5461, -5461, 10923, 10923, 10923, -21845, -21845, -21845, 43691, 43691, 43691, -87381, -87381, -87381, 174763 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,7

LINKS

Harvey P. Dale, Table of n, a(n) for n = 0..1000

Index entries for linear recurrences with constant coefficients, signature (1,0,-2,2).

FORMULA

a(0)=1, a(1)=1, a(2)=1, a(3)=-1, a(n)=a(n-1)-2*a(n-3)+2*a (n-4). - Harvey P. Dale, Apr 30 2016

MATHEMATICA

CoefficientList[Series[(1-x)^(-1)/(1+2x^3), {x, 0, 60}], x] (* or *) LinearRecurrence[{1, 0, -2, 2}, {1, 1, 1, -1}, 60] (* Harvey P. Dale, Apr 30 2016 *)

PROG

(PARI) a(n)=([0, 1, 0, 0; 0, 0, 1, 0; 0, 0, 0, 1; 2, -2, 0, 1]^n*[1; 1; 1; -1])[1, 1] \\ Charles R Greathouse IV, Oct 03 2016

CROSSREFS

Sequence in context: A080605 A130823 A101435 * A096015 A046702 A357057

Adjacent sequences: A077883 A077884 A077885 * A077887 A077888 A077889

KEYWORD

sign,easy

AUTHOR

N. J. A. Sloane, Nov 17 2002

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 December 4 02:16 EST 2022. Contains 358544 sequences. (Running on oeis4.)