cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A334321 Non-palindromic primes.

Original entry on oeis.org

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

Views

Author

Bernard Schott, Apr 23 2020

Keywords

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.

Examples

			97 is prime and is not a palindrome, hence 97 belongs to this sequence.
		

Crossrefs

Equals A000040 \ A002385.
Intersection of A029742 and A000040.

Programs

  • Mathematica
    Select[Range[350], PrimeQ[#] && !PalindromeQ[#] &] (* Amiram Eldar, Apr 23 2020 *)
  • PARI
    isok(p) = if (isprime(p), my(d=digits(p)); d != Vecrev(d)); \\ Michel Marcus, Apr 23 2020

Formula

Formula : A087999(a(n)) = 1.