login
A160937
Numbers n such that (n+1)^1+(n+2)^2+(n+3)^3+(n+4)^4+(n+5)^5+(n+6)^6+(n+7)^7+(n+8)^8+(n+9)^9 is prime.
0
20, 34, 92, 354, 536, 542, 556, 576, 596, 604, 660, 732, 764, 786, 800, 804, 862, 916, 1088, 1164, 1168, 1240, 1256, 1296, 1366, 1378, 1446, 1522, 1644, 1646, 1716, 1794, 1802, 1808, 1828, 1856, 1864, 1908, 1914, 2036, 2060, 2162, 2220, 2426, 2466, 2468
OFFSET
1,1
MATHEMATICA
f[n_]:=(n+1)^1+(n+2)^2+(n+3)^3+(n+4)^4+(n+5)^5+(n+6)^6+(n+7)^7+(n+8)^8+(n+9)^9; lst={}; Do[a=f[n]; If[PrimeQ[a], AppendTo[lst, n]], {n, 0, 7!}]; lst
PROG
(PARI) is(n)=isprime(sum(k=1, 9, (n+k)^k)) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Edited by Charles R Greathouse IV, Nov 11 2009
STATUS
approved