OFFSET
1,1
MAPLE
nmax := proc (n) local nn: nn := convert(n, base, 10): max(seq(nn[j], j = 1 .. nops(nn))) end proc: nmin := proc (n) local nn: nn := convert(n, base, 10): min(seq(nn[j], j = 1 .. nops(nn))) end proc: a := proc (n) if isprime(n) = true and isprime(nmax(n)+nmin(ithprime(n))) = true then n else end if end proc: seq(a(n), n = 1 .. 1300); # Emeric Deutsch, Jan 27 2009
MATHEMATICA
Select[Prime[Range[200]], PrimeQ[Max[IntegerDigits[#]]+Min[ IntegerDigits[ Prime[ #]]]]&] (* Harvey P. Dale, Sep 23 2011 *)
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
Juri-Stepan Gerasimov, Jan 15 2009, Jan 16 2009
EXTENSIONS
Corrected (added 101, 223, 853; removed 233, 239, 811) and extended by Emeric Deutsch, Jan 27 2009
STATUS
approved