The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A176920 Period of decimal representation of 1/n^2. 1
1, 1, 1, 1, 1, 1, 42, 1, 9, 1, 22, 1, 78, 42, 1, 1, 272, 9, 342, 1, 42, 22, 506, 1, 1, 78, 81, 42, 812, 1, 465, 1, 22, 272, 42, 9, 111, 342, 78, 1, 205, 42, 903, 22, 9, 506, 2162, 1, 2058, 1, 272, 78, 689, 81, 22, 42, 342, 812, 3422, 1, 3660, 465, 126, 1, 78, 22, 2211, 272, 506 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,7
COMMENTS
term #7=42; 1/7^2= 0. 020408163265306122448979591836734693877551` 020408163265306122448979591836734693877551` 020408163265306122448979591836734693877551` 02040816326530612244897959183673469..
LINKS
MATHEMATICA
DigitCycleLength[r_Rational, b_Integer?Positive]:=MultiplicativeOrder[b, FixedPoint[Quotient[ #, GCD[ #, b]]&, Denominator[r]]]; Table[If[n<2, 1, DigitCycleLength[1/n^2, 10]], {n, 5!}]
CROSSREFS
Sequence in context: A263288 A216799 A203484 * A037938 A371699 A091747
KEYWORD
nonn,base
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 23 16:36 EDT 2024. Contains 372765 sequences. (Running on oeis4.)