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”).

A245063
Primes p such that (p reversed)-1 is not a prime.
1
2, 5, 7, 11, 13, 17, 19, 29, 31, 37, 43, 53, 59, 61, 67, 71, 73, 79, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 239, 241, 263, 269, 271, 277, 283, 293, 307, 311, 313, 317, 331
OFFSET
1,1
COMMENTS
Complement of A167216.
LINKS
MATHEMATICA
Select[Prime[Range[3700]], ! PrimeQ[FromDigits[Reverse[IntegerDigits[#]]] - 1] &]
PROG
(Magma) [p: p in PrimesInInterval(2, 400) |not IsPrime(q-1) where q is Seqint(Reverse(Intseq(p)))];
(PARI) ok(n)={isprime(n)&&!isprime(fromdigits(Vecrev(digits(n)))-1)} \\ Andrew Howroyd, Feb 27 2018
CROSSREFS
Cf. A167216.
Sequence in context: A020619 A165439 A228200 * A168033 A331486 A257974
KEYWORD
nonn,base
AUTHOR
Vincenzo Librandi, Jul 11 2014
STATUS
approved