This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A226199 7^n + n. 5
 1, 8, 51, 346, 2405, 16812, 117655, 823550, 5764809, 40353616, 282475259, 1977326754, 13841287213, 96889010420, 678223072863, 4747561509958, 33232930569617, 232630513987224, 1628413597910467, 11398895185373162, 79792266297612021 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 COMMENTS Smallest prime of this form is a(34) = 54116956037952111668959660883. In general, the g.f. of a sequence of numbers of the form k^n+n is (1-x-(k-1)*x^2)/((1-k*x)*(x-1)^2) with main linear recurrence (k+2)*a(n-1) -(2k+1)*a(n-2) +k*a(n-3). - Bruno Berselli, Jun 16 2013 LINKS Vincenzo Librandi, Table of n, a(n) for n = 0..300 Index entries for linear recurrences with constant coefficients, signature (9,-15,7). FORMULA G.f.: (1-x-6*x^2)/((1-7*x)*(1-x)^2). a(n) = 9*a(n-1)-15*a(n-2)+7*a(n-3). MATHEMATICA Table[7^n + n, {n, 0, 30}] (* or *) CoefficientList[Series[(1 - x - 6 x^2) / ((1 - 7 x) (1 - x)^2), {x, 0, 20}], x] PROG (MAGMA) [7^n+n: n in [0..20]]; /* or */ I:=[1, 8, 51]; [n le 3 select I[n] else 9*Self(n-1)-15*Self(n-2)+7*Self(n-3): n in [1..30]]; (PARI) a(n)=7^n+n \\ Charles R Greathouse IV, Oct 07 2015 CROSSREFS Cf. numbers of the form k^n+n: A006127 (k=2), A104743 (k=3), A158879 (k=4), A104745 (k=5), A226200 (k=6), this sequence (k=7), A226201 (k=8), A226202 (k=9), A081552 (k=10), A226737 (k=11). Cf. A199483 (first differences). Sequence in context: A014829 A048438 A295602 * A267637 A238648 A215834 Adjacent sequences:  A226196 A226197 A226198 * A226200 A226201 A226202 KEYWORD nonn,easy AUTHOR Vincenzo Librandi, Jun 16 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 October 17 01:03 EDT 2019. Contains 328103 sequences. (Running on oeis4.)