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.

A129693 Right truncatable primes in base 9 (written in decimal form).

Original entry on oeis.org

2, 3, 5, 7, 19, 23, 29, 31, 47, 53, 67, 71, 173, 179, 211, 263, 269, 281, 283, 431, 479, 607, 641, 643, 647, 1559, 1613, 1619, 1901, 1907, 2371, 2423, 2531, 2549, 2551, 3881, 5471, 5791, 5827, 14033, 14519, 17117, 17167, 21341, 21347, 22783, 22787, 22943
Offset: 1

Views

Author

Martin Renner, Jun 01 2007

Keywords

Comments

There are exactly 68 right truncatable primes in base 9.

Crossrefs

Programs

  • Maple
    Extend:= proc(n) op(select(isprime, [seq(9*n+k,k=1..8)])) end proc:
    S:= {}: Agenda:= {2,3,5,7}:
    while Agenda <> {} do
      S:= S union Agenda;
      Agenda:= map(Extend, Agenda);
    od:
    sort(convert(S,list)); # Robert Israel, Mar 25 2018