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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A158879 a(n) = 4^n + n. 11
 1, 5, 18, 67, 260, 1029, 4102, 16391, 65544, 262153, 1048586, 4194315, 16777228, 67108877, 268435470, 1073741839, 4294967312, 17179869201, 68719476754, 274877906963, 1099511627796, 4398046511125, 17592186044438, 70368744177687 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 LINKS Vincenzo Librandi, Table of n, a(n) for n = 0..300 Index entries for linear recurrences with constant coefficients, signature (6,-9,4). FORMULA G.f.: (1 - x - 3*x^2)/((1-4*x)*(1-x)^2). - R. J. Mathar, Mar 29 2009 a(n) = 6*a(n-1) -9*a(n-2) +4*a(n-3). - R. J. Mathar, Mar 29 2009 E.g.f.: x*exp(x) + exp(4*x). - G. C. Greubel, Mar 04 2020 EXAMPLE a(0)=4^0+0 = 1, a(1)=4^1+1 = 5, a(2)=4^2+2 = 18, a(3)=4^3+3 = 67, ... MAPLE seq( 4^n+n, n=0..30); # G. C. Greubel, Mar 04 2020 MATHEMATICA Table[4^n+n, {n, 0, 40}] (* Vladimir Joseph Stephan Orlovsky, May 19 2011 *) CoefficientList[Series[(1-x-3x^2)/((1-4x)(1-x)^2), {x, 0, 30}], x] (* Vincenzo Librandi, Jun 16 2013 *) LinearRecurrence[{6, -9, 4}, {1, 5, 18}, 30] (* Harvey P. Dale, Jun 02 2016 *) PROG (Magma) [4^n+n: n in [0..30]]; // Vincenzo Librandi, Jun 16 2013 (PARI) a(n)=4^n+n \\ Charles R Greathouse IV, Oct 07 2015 (Sage) [n+4^n for n in (0..30)] # G. C. Greubel, Mar 04 2020 (GAP) List([0..30], n-> n+4^n); # G. C. Greubel, Mar 04 2020 CROSSREFS Cf. A006127, A081552, A104743, A104745. Sequence in context: A371871 A166677 A318062 * A322497 A279488 A199843 Adjacent sequences: A158876 A158877 A158878 * A158880 A158881 A158882 KEYWORD nonn,easy AUTHOR Philippe Deléham, Mar 28 2009 EXTENSIONS Corrected typo in a(22) from R. J. Mathar, Mar 29 2009 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.

Last modified April 14 09:38 EDT 2024. Contains 371657 sequences. (Running on oeis4.)