The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A263241 Lesser of emirp pairs that are merely reversals of their end digits. 2
13, 17, 37, 79, 107, 113, 149, 157, 167, 179, 199, 337, 347, 359, 389, 709, 739, 769, 1009, 1223, 1229, 1559, 1669, 3889, 7229, 10007, 10009, 10909, 11717, 11719, 12227, 12323, 12829, 13337, 13933, 14143, 14447, 14449, 14549, 14843, 14947, 15053, 16063, 16267, 16567, 16763 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The first digit is always smaller than last digit.
LINKS
MATHEMATICA
Select[Range[20000], And @@ PrimeQ[{#, IntegerReverse[#]}] && ! PalindromeQ[#] && First[(d = IntegerDigits[#])] < Last[d] && PalindromeQ[Most@ Rest@ IntegerDigits[#]] &] (* Amiram Eldar, Oct 16 2021 *)
PROG
(PARI) isok(p) = my(dp=digits(p), dr=Vecrev(dp), r=fromdigits(dr)); if (isprime(r) && (r>p) && isprime(p), sum(i=2, #dp-1, dp[i]==dr[i]) == #dp-2); \\ Michel Marcus, Oct 16 2021
CROSSREFS
Sequence in context: A322472 A166681 A109308 * A246944 A086402 A358571
KEYWORD
nonn,base
AUTHOR
Lekraj Beedassy, Oct 13 2015
EXTENSIONS
Missing 179 added by Zak Seidov, Oct 15 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 12 20:41 EDT 2024. Contains 372494 sequences. (Running on oeis4.)