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!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
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
Sequence in context: A039343 A043166 A043946 * A060124 A068476 A003895
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Edited by Charles R Greathouse IV, Nov 11 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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 26 22:10 EDT 2024. Contains 375462 sequences. (Running on oeis4.)