login
A334321
Non-palindromic primes.
3
13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 103, 107, 109, 113, 127, 137, 139, 149, 157, 163, 167, 173, 179, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 317, 331, 337, 347, 349
OFFSET
1,1
COMMENTS
Not the same as A052085, primes whose decimal digits are grouped together: 2, 3, 5, 7, 11 are not terms of this sequence, then the next difference occurs for prime 1013 that belongs to this sequence but not to A052085.
FORMULA
Formula : A087999(a(n)) = 1.
EXAMPLE
97 is prime and is not a palindrome, hence 97 belongs to this sequence.
MATHEMATICA
Select[Range[350], PrimeQ[#] && !PalindromeQ[#] &] (* Amiram Eldar, Apr 23 2020 *)
PROG
(PARI) isok(p) = if (isprime(p), my(d=digits(p)); d != Vecrev(d)); \\ Michel Marcus, Apr 23 2020
CROSSREFS
Equals A000040 \ A002385.
Intersection of A029742 and A000040.
Sequence in context: A045921 A296520 A334391 * A034845 A241059 A040136
KEYWORD
nonn,base
AUTHOR
Bernard Schott, Apr 23 2020
STATUS
approved