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.

A090155 Primes of the form identical digits preceded by a 7.

Original entry on oeis.org

7, 71, 73, 79, 733, 7333, 79999, 733333, 799999, 71111111, 799999999, 79999999999, 79999999999999999999999999, 79999999999999999999999999999999999999999999999999
Offset: 1

Views

Author

Robert G. Wilson v, Nov 22 2003

Keywords

Crossrefs

Subsequence of A030096 and of A030291. Apart from the first term, a subsequence of A235154.

Programs

  • Mathematica
    Select[ FromDigits /@ Flatten[ Table[ PadRight[{7}, i, # ] & /@ {1, 2, 3, 4, 5, 6, 7, 8, 9}, {i, 2, 50}], 1], PrimeQ[ # ] &]
    Select[FromDigits/@Flatten[Table[PadRight[{7},i,#]&/@{1,3,7,9},{i,50}],1],PrimeQ[#]&]//Union (* Harvey P. Dale, Nov 22 2024 *)