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.

This page as a plain text file.
%I A334321 #15 Apr 23 2020 20:46:04
%S A334321 13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,103,107,
%T A334321 109,113,127,137,139,149,157,163,167,173,179,193,197,199,211,223,227,
%U A334321 229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,317,331,337,347,349
%N A334321 Non-palindromic primes.
%C A334321 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.
%F A334321 Formula : A087999(a(n)) = 1.
%e A334321 97 is prime and is not a palindrome, hence 97 belongs to this sequence.
%t A334321 Select[Range[350], PrimeQ[#] && !PalindromeQ[#] &] (* _Amiram Eldar_, Apr 23 2020 *)
%o A334321 (PARI) isok(p) = if (isprime(p), my(d=digits(p)); d != Vecrev(d)); \\ _Michel Marcus_, Apr 23 2020
%Y A334321 Equals A000040 \ A002385.
%Y A334321 Intersection of A029742 and A000040.
%K A334321 nonn,base
%O A334321 1,1
%A A334321 _Bernard Schott_, Apr 23 2020