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.

A242828 Primes formed by the initial digits of the decimal expansion of 1/17, starting at the first nonzero digit in the expansion.

Original entry on oeis.org

5, 5882352941, 588235294117, 588235294117647058823529411764705882352941176470588235294117
Offset: 1

Views

Author

Felix Fröhlich, May 23 2014

Keywords

Comments

There is no other term with 126 or fewer digits.
No more terms < 10^20000. - Jon E. Schoenfield, Nov 02 2019

Crossrefs

Cf. A007450.
Corresponding sequences for 1/k: A242824 (k=7), A093676 (k=12), A242826 (k=13), A242827(k=14), A242833 (k=19).

Programs

  • Mathematica
    Select[Table[FromDigits[PadRight[{},n,{5,8,8,2,3,5,2,9,4,1,1,7,6,4,7,0}]],{n,60}],PrimeQ] (* Harvey P. Dale, Aug 08 2021 *)
  • PARI
    lista(nn) = {v = [5, 8, 8, 2, 3, 5, 2, 9, 4, 1, 1, 7, 6, 4, 7, 0]; n = 0; for (i=0, nn, n = 10*n+ v[(i % 16)+1]; if (ispseudoprime(n), print1(#Str(n), ", ")););} \\ Michel Marcus, May 27 2014