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.

A056214 Primes p whose period of reciprocal equals (p-1)/9.

Original entry on oeis.org

73, 1423, 1459, 2377, 2503, 3457, 7741, 9433, 10891, 10909, 16057, 17299, 17623, 20269, 21313, 22699, 24103, 26263, 28621, 28927, 29629, 30817, 32257, 34273, 34327, 35461, 35731, 36343, 36793, 37549, 37567, 37657, 38737, 39367, 39979
Offset: 1

Views

Author

Robert G. Wilson v, Aug 02 2000

Keywords

Comments

Cyclic numbers of the ninth degree (or ninth order): the reciprocals of these numbers belong to one of nine different cycles. Each cycle has the (number minus 1)/9 digits.

Crossrefs

Programs

  • Mathematica
    f[n_Integer] := Block[{ds = Divisors[n - 1]}, (n - 1)/Take[ ds, Position[ PowerMod[ 10, ds, n], 1] [[1, 1]]] [[ -1]]]; Select[ Prime[ Range[4, 5000]], f[ # ] == 9 &]

Extensions

Edited by N. J. A. Sloane, Apr 30 2007