OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
1^3 + 3^2 + 7^1 = 17 is prime. Thus 137 is a member of this sequence. - Derek Orr, Jul 13 2014
MATHEMATICA
Select[Range[200], PrimeQ[Total[IntegerDigits[#]^Range[IntegerLength[#], 1, -1]]]&] (* Harvey P. Dale, Aug 14 2019 *)
PROG
(PARI) for(n=1, 10^3, d=digits(n); s=sum(i=1, #d, d[i]^(#d-i+1)); 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