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!)
A338792 a(n) is the least number k such that 1/prime(k) has repeating decimal expansion of period n. 0
1, 2, 5, 12, 26, 13, 4, 52, 21, 28693, 1128, 2431, 1221, 16, 71954, 11, 7, 153888, 8, 27417323062119920, 496, 14, 9, 223378173194137397198, 5760923, 2403, 149, 134, 10, 452, 47, 406, 71, 19, 27, 20, 37607875619, 150886, 22544062111497849 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(0) = 1; a(n) = A000720(A007138(n)).
EXAMPLE
1/prime(1) = 1/2 = 0.5 (finite decimal expansion).
1/prime(2) = 1/3 = 0.3(3)... (period 1).
1/prime(5) = 1/11 = 0.09(09)... (period 2).
1/prime(12) = 1/37 = 0.027(027)... (period 3).
CROSSREFS
Sequence in context: A117177 A287141 A214610 * A221720 A258099 A132977
KEYWORD
nonn,base
AUTHOR
Ilya Gutkovskiy, Nov 09 2020
EXTENSIONS
a(19)-a(38) from Daniel Suteu, Nov 09 2020 [using data from A007138 and A234317]
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 31 01:18 EDT 2024. Contains 372980 sequences. (Running on oeis4.)