The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A104745 a(n) = 5^n + n. 13
1, 6, 27, 128, 629, 3130, 15631, 78132, 390633, 1953134, 9765635, 48828136, 244140637, 1220703138, 6103515639, 30517578140, 152587890641, 762939453142, 3814697265643, 19073486328144, 95367431640645, 476837158203146 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Numbers m=5^n+n such that equation x=5^(m-x) has solution x=5^n, see A104744.
No primes of the form 5^n+n for n < 7954. - Thomas Ordowski, Oct 28 2013
a(7954) is prime (5560 digits). - Thomas Ordowski, May 07 2015
LINKS
Factordb, 5^7954 + 7954.
FORMULA
G.f.: (1-x-4*x^2)/((1-5*x)(1-x)^2). - Vincenzo Librandi, Jun 16 2013
a(n) = 7*a(n-1)-11*a(n-2)+5*a(n-3). - Vincenzo Librandi, Jun 16 2013
MAPLE
g:=1/(1-5*z): gser:=series(g, z=0, 43): seq(coeff(gser, z, n)+n, n=0..31); # Zerinvary Lajos, Jan 09 2009
MATHEMATICA
Table[5^n+n, {n, 0, 40}] (* Vladimir Joseph Stephan Orlovsky, May 19 2011 *)
CoefficientList[Series[(1 - x - 4 x^2) / ((1 - 5 x) (1 - x)^2), {x, 0, 30}], x] (* Vincenzo Librandi, Jun 16 2013 *)
LinearRecurrence[{7, -11, 5}, {1, 6, 27}, 30] (* Harvey P. Dale, Dec 03 2017 *)
PROG
(Magma) I:=[1, 6, 27]; [n le 3 select I[n] else 7*Self(n-1)-11*Self(n-2) +5*Self(n-3): n in [1..30]]; // Vincenzo Librandi, Jun 16 2013
(PARI) a(n)=5^n+n \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
Sequence in context: A360057 A109115 A038176 * A184279 A299598 A343492
KEYWORD
nonn,easy
AUTHOR
Zak Seidov, Mar 23 2005
EXTENSIONS
More terms from Jonathan R. Love (japanada11(AT)yahoo.ca), Mar 09 2007
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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 12 07:01 EDT 2024. Contains 373325 sequences. (Running on oeis4.)