OFFSET
1,1
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..1111
MATHEMATICA
Do[p = Join[ IntegerDigits[n], Reverse[ Drop[ IntegerDigits[n], -1]]]; q = Plus @@ p; If[ PrimeQ[ FromDigits[p]] && q == 7, Print[ FromDigits[p]]], {n, 1, 10^7}]
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, May 05 2002
EXTENSIONS
Edited by Robert G. Wilson v, May 15 2002
STATUS
approved