OFFSET
0,2
COMMENTS
a(24) is prime; a(1036) and a(104824) are probable primes (3-PRP). - David Radcliffe, Dec 23 2016
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (11,-45,95,-115,81,-31,5).
FORMULA
G.f.: (4*x^6+135*x^5+289*x^4+84*x^3-36*x^2+5*x-1) / ((x-1)^6*(5*x-1)). - Colin Barker, May 07 2013
MAPLE
seq(seq(k^n+n^k, k=5..5), n=0..20); # Zerinvary Lajos, Jun 29 2007
MATHEMATICA
f[n_]:=5^n+n^5; f[Range[0, 40]] (* Vladimir Joseph Stephan Orlovsky, Feb 14 2011 *)
LinearRecurrence[{11, -45, 95, -115, 81, -31, 5}, {1, 6, 57, 368, 1649, 6250, 23401}, 30] (* Harvey P. Dale, Jan 15 2018 *)
PROG
(Magma) [5^n+n^5: n in [0..30]]; // Vincenzo Librandi, Oct 27 2011
(PARI) a(n)=5^n+n^5 \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Colin Barker, May 07 2013
STATUS
approved