This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A198396 a(n) = 6^n-6*n. 2
 1, 0, 24, 198, 1272, 7746, 46620, 279894, 1679568, 10077642, 60466116, 362796990, 2176782264, 13060693938, 78364164012, 470184984486, 2821109907360, 16926659444634, 101559956668308, 609359740010382, 3656158440062856, 21936950640377730 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 LINKS Vincenzo Librandi, Table of n, a(n) for n = 0..1000 Index entries for linear recurrences with constant coefficients, signature (8,-13,6). FORMULA a(n) = 8*a(n-1)-13*a(n-2)+6*a(n-3) for n>2. G.f.: (1-8*x+37*x^2)/((1-6*x)*(1-x)^2). - Vincenzo Librandi, Jan 04 2013 MATHEMATICA CoefficientList[Series[(1 - 8*x + 37*x^2)/((1 - 6*x)*(1 -x)^2), {x, 0, 30}], x] (* Vincenzo Librandi, Jan 04 2013 *) Table[6^n-6n, {n, 0, 30}] (* or *) LinearRecurrence[{8, -13, 6}, {1, 0, 24}, 30] (* Harvey P. Dale, Jul 25 2019 *) PROG (MAGMA) [6^n-6*n: n in [0..25]] (PARI) a(n)=6^n-6*n \\ Charles R Greathouse IV, Jul 06 2017 CROSSREFS Cf. A005803, A107583, A107584, A107585. Sequence in context: A125361 A126519 A260358 * A225296 A048355 A132458 Adjacent sequences:  A198393 A198394 A198395 * A198397 A198398 A198399 KEYWORD nonn,easy AUTHOR Vincenzo Librandi, Oct 26 2011 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 October 20 22:44 EDT 2019. Contains 328291 sequences. (Running on oeis4.)