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.

A106094 Primes with maximal digit = 8.

Original entry on oeis.org

83, 181, 281, 283, 383, 487, 587, 683, 787, 811, 821, 823, 827, 853, 857, 863, 877, 881, 883, 887, 1087, 1181, 1187, 1283, 1381, 1481, 1483, 1487, 1583, 1783, 1787, 1801, 1811, 1823, 1831, 1847, 1861, 1867, 1871, 1873, 1877
Offset: 1

Views

Author

Zak Seidov, May 07 2005

Keywords

Programs

  • Maple
    Res:= NULL: count:= 0:
    C:= {$1..8}: B:= {8}:
    for d from 2 while count < 100 do
       B:= map(t -> 10*t+8, C) union map(t -> seq(10*t+j,j=0..7),B);
       C:= map(t -> seq(10*t+i,i=0..8), C);
       V:= select(isprime,B);
       count:= count + nops(V);
       Res:= Res, op(sort(convert(V,list)));
    od:
    Res; # Robert Israel, May 01 2019
  • Mathematica
    Select[Prime[Range[200]], Max[IntegerDigits[ # ]]==8&]