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

A087764
Primes whose reversal is a multiple of 13.
10
19, 31, 269, 281, 397, 401, 457, 463, 523, 773, 827, 1063, 1117, 1123, 1367, 1373, 1427, 1433, 1489, 1549, 1609, 1621, 1871, 1931, 1987, 1993, 2027, 2089, 2161, 2221, 2399, 2459, 2531, 2593, 2647, 2707, 2713
OFFSET
1,1
COMMENTS
There are no primes (besides 11) whose reversal is a multiple of 11.
LINKS
MAPLE
digrev:= proc(n) local L, i;
L:= convert(n, base, 10);
add(L[-i]*10^(i-1), i=1..nops(L))
end proc:
B:= map(digrev, {seq(i, i=13..10000, 13)}):
sort(convert(select(isprime, B), list)); # Robert Israel, Oct 23 2019
PROG
(PARI) forprime(n=2, 3000, if(fromdigits(Vecrev(digits(n)))%13==0, print1(n, ", "))) \\ Mohammed Yaseen, Jul 19 2022
CROSSREFS
Primes whose reversal is a multiple of k: A087762 (k=7), this sequence (k=13), A087765 (k=17), A087766 (k=19), A087767 (k=23).
Sequence in context: A240126 A125602 A139847 * A146691 A146784 A147240
KEYWORD
easy,nonn,base
AUTHOR
Zak Seidov, Oct 03 2003
STATUS
approved