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.

A105975 Near-repdigit primes with 9 as repeated digit.

Original entry on oeis.org

199, 499, 599, 919, 929, 991, 997, 1999, 2999, 4999, 8999, 9199, 9929, 9949, 49999, 59999, 79999, 94999, 98999, 99929, 99989, 99991, 199999, 599999, 799999, 989999, 991999, 999199, 999499, 999599, 999959, 999979, 2999999, 4999999, 9899999
Offset: 1

Views

Author

Shyam Sunder Gupta, Apr 29 2005

Keywords

Examples

			a(2)=499 is a term because all digits are equal to 9 except one.
		

Programs

  • Mathematica
    Sort[Select[Flatten[Table[FromDigits/@(Flatten[Permutations/@Table[ Join[{n},PadRight[{},i,9]],{n,{1,2,4,5,7,8}}],1]),{i,2,6}]],PrimeQ]] (* Harvey P. Dale, May 07 2015 *)