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.

A046107 Triangle of prime numbers in which n-th row lists all primes p such that 1/p has decimal period n, n >= 1.

Original entry on oeis.org

3, 11, 37, 101, 41, 271, 7, 13, 239, 4649, 73, 137, 333667, 9091, 21649, 513239, 9901, 53, 79, 265371653, 909091, 31, 2906161, 17, 5882353, 2071723, 5363222357, 19, 52579, 1111111111111111111, 3541, 27961, 43, 1933, 10838689, 23, 4093, 8779, 11111111111111111111111
Offset: 1

Views

Author

Keywords

Comments

The number of numbers in each row n is given by A112505(n).
In the 18th century, the Japanese mathematician Ajima Naonobu (aka Ajima Chokuyen) gave the terms through 5882353 (Smith and Mikami, p. 199). - Jonathan Sondow, May 25 2013

Examples

			First rows of irregular triangle are:
       3;
      11;
      37;
     101;
      41,     271;
       7,      13;
     239,    4649;
      73,     137;
  333667;
    9091;
   21649,  513239;
    9901;
      53,      79, 265371653;
  909091;
      31, 2906161;
      17, 5882353;
  ...
		

References

  • Ajima Naonobu (aka Ajima Chokuyen), Fujin IsshÅ© (Periods of Decimal Fractions).

Crossrefs

Cf. A007138 (first column), A061075 (last row elements).

Programs

  • Mathematica
    pp={}; Do[f=Transpose[FactorInteger[10^n-1]][[1]]; p=Complement[f, pp]; pp=Union[pp, p]; Print[p], {n, 66}] (* T. D. Noe, Sep 08 2005 *)

Extensions

First 276 rows in b-file from T. D. Noe, Jun 01 2010
Rows n=277..322 in b-file from Ray Chandler, May 01 2017
Rows n=323..352 in b-file from Max Alekseyev, Apr 26 2022