This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A142880 a(n) = 7*a(n-3) - a(n-6). 0
 0, 1, 2, 3, 8, 13, 21, 55, 89, 144, 377, 610, 987, 2584, 4181, 6765, 17711, 28657, 46368, 121393, 196418, 317811, 832040, 1346269, 2178309, 5702887, 9227465, 14930352, 39088169, 63245986, 102334155, 267914296, 433494437, 701408733, 1836311903 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 LINKS Index entries for linear recurrences with constant coefficients, signature (0,0,7,0,0,-1). FORMULA G.f.: -x*(1+x)*(x^3 - 2*x^2 - x - 1) / ( 1 - 7*x^3 + x^6 ). a(3n) = A033888(n). a(3n+1) = A033890(n). a(3n+2)= A033891(n). a(n) = 2*a(n-1) + a(n-2) if n == 1 (mod 3). a(n) = a(n-1) + a(n-2) if n == 0 (mod 3). a(n) = 2*a(n-1) - a(n-2) if n == 2 (mod 3). MATHEMATICA a[0] = 0; a[1] = 1; a[n_] := a[n] = If[Mod[n, 3] == 1, 2*a[n - 1] + a[n - 2], If[Mod[n, 3] == 0, a[n - 1] + a[n - 2], 2*a[n - 1] - a[n - 2]]]; Table[a[n], {n, 0, 50}] CROSSREFS Cf. A119016, A002965, A002530, A048788. Sequence in context: A080478 A002053 A102315 * A147329 A175148 A147417 Adjacent sequences:  A142877 A142878 A142879 * A142881 A142882 A142883 KEYWORD nonn,easy AUTHOR Roger L. Bagula and Gary W. Adamson, Sep 28 2008 STATUS approved

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

Last modified June 26 10:12 EDT 2019. Contains 324375 sequences. (Running on oeis4.)