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.

Showing 1-1 of 1 results.

A197226 The period of the decimal fraction 1/A197225(n).

Original entry on oeis.org

1, 2, 16, 3, 5, 13, 8, 13, 41, 4, 53, 8, 81, 43, 113, 7, 256, 5, 79, 173, 32, 179, 32, 233, 239, 281, 293, 32, 107, 359, 61, 125, 27, 193, 199, 419, 151, 103, 593, 41, 641, 653, 659, 32, 719, 373, 761, 271, 409, 313, 953, 331, 1013, 1019, 137, 619, 223, 31
Offset: 1

Views

Author

T. D. Noe, Oct 22 2011

Keywords

Comments

These numbers are prime powers, members of A000961.

Programs

  • Mathematica
    myPerfectPowerQ[n_] := Length[FactorInteger[n]] == 1; t=Select[Prime[Range[500]], Mod[10,#] > 0 && myPerfectPowerQ[Length[RealDigits[1/#, 10][[1,1]]]] &]; Table[Length[RealDigits[1/n, 10][[1,1]]], {n, t}]
Showing 1-1 of 1 results.