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.

A087764 Primes whose reversal is a multiple of 13.

Original entry on oeis.org

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

Views

Author

Zak Seidov, Oct 03 2003

Keywords

Comments

There are no primes (besides 11) whose reversal is a multiple of 11.

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

Programs

  • 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
  • PARI
    forprime(n=2, 3000, if(fromdigits(Vecrev(digits(n)))%13==0, print1(n, ", "))) \\ Mohammed Yaseen, Jul 19 2022