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.

A093671 Primes of the form 10^k + 3*R_k, where R_k is the repunit (A002275) of length k.

Original entry on oeis.org

13, 1333333333333333, 133333333333333333333333333333333333333333, 133333333333333333333333333333333333333333333333333333333333333333333333333333333333
Offset: 1

Views

Author

Rick L. Shepherd, Apr 08 2004

Keywords

Crossrefs

Cf. A002275 (repunits), A056698 (corresponding k).

Programs

  • Magma
    [a: n in [0..100] | IsPrime(a) where a is ((4*10^n-1) div 3)]; // Vincenzo Librandi, Apr 06 2019
  • Mathematica
    Select[Table[FromDigits[PadRight[{1}, n, 3]], {n, 500}], PrimeQ] (* Vincenzo Librandi, Apr 06 2019 *)