login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A122060 Position in decimal expansion of 1/n where repetition begins. 0
2, 3, 2, 4, 3, 3, 7, 5, 2, 3, 3, 4, 7, 8, 3, 6, 17, 3, 19, 4, 7, 4, 23, 5, 4, 8, 4, 11, 29, 3 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

If 1/n = 0.XYYYYY... then sequence gives index of first digit of the second Y.

a(4) = 4 and a(p) = p for primes p = {7, 17, 19, 23, 29, 47, 59, 61, 97, ...} = A001913(n) Cyclic numbers: primes with primitive root 10. - Alexander Adamchuk (alex(AT)kolmogorov.com), Jan 28 2007

FORMULA

a(n)=A121341(n)+2 if 1/n terminates, else a(n)=A121341(n)+1. - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Sep 20 2006

EXAMPLE

a(4) = 4 because in .2500 the zero begins repeating at the fourth position

a(17) = 17 because .52631578947368421053 begins repeating at the 17th position

CROSSREFS

Cf. A001913, A002371.

Sequence in context: A070296 A072645 A135817 * A088939 A004596 A118653

Adjacent sequences:  A122057 A122058 A122059 * A122061 A122062 A122063

KEYWORD

nonn,base

AUTHOR

Ben Thurston (benthurston27(AT)yahoo.com), Sep 14 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 10:57 EST 2012. Contains 206009 sequences.