OFFSET
1,1
FORMULA
a(n) ~ (4/3) n log n since almost all primes not ending in 1 are in this sequence, and only o(x^0.96) primes ending in 1 are in this sequence. - Charles R Greathouse IV, Jan 02 2013
EXAMPLE
11(1+1=2=prime), 23(2+3=5=prime), 29(2+9=11=prime), 31(1+1=2=prime), etc.
MATHEMATICA
sldpQ[n_]:=Module[{idn=IntegerDigits[n]}, PrimeQ[Min[idn]+Last[idn]]]; Select[Prime[Range[150]], sldpQ] (* Harvey P. Dale, May 09 2012 *)
PROG
(PARI) is(n)=my(d=digits(n)); isprime(vecmin(d)+d[#d]) && isprime(n) \\ Charles R Greathouse IV, Jan 02 2013
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Juri-Stepan Gerasimov, Feb 24 2009
EXTENSIONS
Second 151 replaced by 251, 643 removed by R. J. Mathar, Feb 26 2009
STATUS
approved