login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A052023
Every suffix of palindromic prime a(n), containing no '0' digit, is prime (left-truncatable palindromic primes).
12
2, 3, 5, 7, 313, 353, 373, 383, 797, 76367, 79397, 7693967, 799636997
OFFSET
1,1
LINKS
I. O. Angell and H. J. Godwin, On Truncatable Primes, Math. Comput. 31, 265-267, 1977.
C. K. Caldwell, Left and Right truncatable primes.
Eric Weisstein's World of Mathematics, Prime strings
MATHEMATICA
d[n_]:=IntegerDigits[n]; ltrQ[n_]:=And@@PrimeQ[NestList[FromDigits[Drop[d[#], 1]]&, n, Length[d[n]]-1]]; palQ[n_]:=Reverse[x=d[n]]==x; Select[Prime[Range[540000]], palQ[#]&&ltrQ[#]&] (* Jayanta Basu, Jun 02 2013 *)
KEYWORD
nonn,base,fini,full
AUTHOR
STATUS
approved