OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
1^1+8^2+8^3 = 577 is prime. Thus 188 is a member of this sequence. - Derek Orr, Jul 13 2014
MATHEMATICA
dpnQ[n_]:=Module[{idn=IntegerDigits[n]}, PrimeQ[Total[idn^Range[ Length[idn]]]]]; Select[Range[300], dpnQ] (* Harvey P. Dale, Mar 26 2012 *)
PROG
(PARI) for(n=1, 10^3, d=digits(n); s=sum(i=1, #d, d[i]^i); if(isprime(s), print1(n, ", "))) \\ Derek Orr, Jul 13 2014
CROSSREFS
KEYWORD
base,easy,nonn,less
AUTHOR
Ctibor O. Zizka, May 19 2008
EXTENSIONS
Edited and extended by Klaus Brockhaus, May 21 2008
STATUS
approved