OFFSET
0,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
FORMULA
EXAMPLE
a(4) = 14 = 7 + 7, 7 is the fourth prime; a(8) = 110 = 19 + 91, 19 is the eighth prime.
MAPLE
revdigs:= proc(n) local L, i;
L:= convert(n, base, 10);
add(10^(nops(L)-j)*L[j], j=1..nops(L))
end proc:
seq(x+revdigs(x), x=select(isprime, [2, seq(i, i=3..1000, 2); # Robert Israel, May 23 2016
MATHEMATICA
#+FromDigits[Reverse[IntegerDigits[#]]]&/@Prime[Range[60]] (* Harvey P. Dale, Jul 13 2013 *)
PROG
CROSSREFS
KEYWORD
AUTHOR
Amarnath Murthy, Apr 22 2001
EXTENSIONS
More terms from Patrick De Geest, Jun 04 2001
STATUS
approved