The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A014989 a(n) = (1 - (-7)^n)/8. 13
 1, -6, 43, -300, 2101, -14706, 102943, -720600, 5044201, -35309406, 247165843, -1730160900, 12111126301, -84777884106, 593445188743, -4154116321200, 29078814248401, -203551699738806, 1424861898171643, -9974033287201500 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS q-integers for q = -7. LINKS Vincenzo Librandi, Table of n, a(n) for n = 1..200 Index entries for linear recurrences with constant coefficients, signature (-6,7). FORMULA a(n) = a(n-1) + q^(n-1) = (q^n - 1) / (q - 1). a(n) = -6*a(n-1) + 7*a(n-2). - Vincenzo Librandi, Oct 22 2012 From G. C. Greubel, May 26 2018: (Start) G.f.: x/((1-x)*(1+7*x)). E.g.f.: (exp(x) - exp(-7*x))/8. (End) MAPLE a:=n->sum ((-7)^j, j=0..n): seq(a(n), n=0..25); # Zerinvary Lajos, Dec 16 2008 MATHEMATICA LinearRecurrence[{-6, 7}, {1, -6}, 30] (* Vincenzo Librandi, Oct 22 2012 *) PROG (Sage) [gaussian_binomial(n, 1, -7) for n in range(1, 21)] # Zerinvary Lajos, May 28 2009 (MAGMA)  I:=[1, -6]; [n le 2 select I[n] else -6*Self(n-1)+7*Self(n-2): n in [1..30]]; // Vincenzo Librandi, Oct 22 2012 (PARI) x='x+O('x^30); Vec(x/((1-x)*(1+7*x))) \\ G. C. Greubel, May 26 2018 CROSSREFS Cf. A077925, A014983, A014985-A014987, A014990-A014994. Sequence in context: A156676 A256713 A099322 * A015552 A091129 A091128 Adjacent sequences:  A014986 A014987 A014988 * A014990 A014991 A014992 KEYWORD sign,easy AUTHOR EXTENSIONS Better name from Ralf Stephan, Jul 14 2013 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 February 22 05:52 EST 2020. Contains 332116 sequences. (Running on oeis4.)