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.

A106095 Primes with maximal digit = 7.

Original entry on oeis.org

7, 17, 37, 47, 67, 71, 73, 107, 127, 137, 157, 167, 173, 227, 257, 271, 277, 307, 317, 337, 347, 367, 373, 457, 467, 547, 557, 571, 577, 607, 617, 647, 673, 677, 701, 727, 733, 743, 751, 757, 761, 773, 1117, 1171, 1217, 1237, 1277, 1307, 1327, 1367
Offset: 1

Views

Author

Zak Seidov, May 07 2005

Keywords

Programs

  • Maple
    Res:= 7:
    A:= {7}: B:= {$1..6}:
    for d from 2 to 4 do
      A:= {seq(seq(10*a+i,i=0..7),a=A), seq(10*b+7,b=B)}:
      B:= {seq(seq(10*b+i,i=0..6),b=B)}:
      Res:= Res, op(sort(convert(select(isprime,A),list)))
    od:
    Res; # Robert Israel, Jan 01 2019
  • Mathematica
    Select[Prime[Range[200]], Max[IntegerDigits[ # ]]==7&]