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.

A068813 Primes with a 3 followed by 1's.

Original entry on oeis.org

31, 311, 311111, 31111111111, 311111111111, 31111111111111, 31111111111111111111111111111111111, 311111111111111111111111111111111111111111111111, 31111111111111111111111111111111111111111111111111111
Offset: 1

Views

Author

Amarnath Murthy, Mar 07 2002

Keywords

Examples

			Digit 3 followed by rep-units of length 1,2,5,10,11,13,34,47,52,77,88,...
		

Crossrefs

Programs

  • Mathematica
    Select[Table[FromDigits[PadRight[{3},n,1]],{n,2,100}],PrimeQ] (* Harvey P. Dale, Nov 18 2012 *)
  • PARI
    for(n=1,200, if(isprime(3*10^n+(10^(n)-1)/9)==1,print1(3*10^n+(10^(n)-1)/9,",")))

Extensions

More terms from Benoit Cloitre, Mar 09 2002
One additional term from Harvey P. Dale, Nov 18 2012