The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A138059 Numbers n such that n^0+(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 a prime. 2

%I

%S 123,135,201,363,987,1485,1545,1593,1713,1947,2211,2391,2571,2577,

%T 2751,3093,3273,3375,3381,3693,3801,4155,4407,4521,4587

%N Numbers n such that n^0+(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 a prime.

%H Harvey P. Dale, <a href="/A138059/b138059.txt">Table of n, a(n) for n = 1..1000</a>

%t a={};Do[If[PrimeQ[n^70+(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],AppendTo[a,n]],{n,10^3*5}];a

%t Select[Range[5000],PrimeQ[Total[Table[(#+i)^i,{i,0,9}]]]&] (* _Harvey P. Dale_, Jun 01 2019 *)

%K nonn

%O 1,1

%A _Vladimir Joseph Stephan Orlovsky_, May 06 2008

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 December 5 17:28 EST 2021. Contains 349557 sequences. (Running on oeis4.)