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!)
A359446 a(n) is the period of the decimal expansion of 1/A243110(n). 0
1, 2, 3, 4, 7, 5, 21, 29, 20, 22, 7, 10, 11, 18, 35, 51, 45, 61, 9, 11, 14, 17, 15, 16, 21, 47, 51, 54, 55, 24, 28, 37, 13, 44, 44, 26, 17 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Equivalently, a(n) is the period of the decimal expansion of the reciprocals of the corresponding primes in the records of A060370, that is, of the primes that set a record for the ratio between them and the period of its reciprocal.
LINKS
EXAMPLE
a(5) = 7 because the 5th term of A243110 is 239 and 1/239 = 0.0041841... which has a period of 7.
PROG
(Python)
from sympy import n_order, nextprime
p = 3
best = 0
while True:
if p!=5:
period = n_order(10, p)
k = (p-1)//period
if k > best:
best = k
print(period, end=', ')
p = nextprime(p)
CROSSREFS
Sequence in context: A342621 A273014 A336321 * A072275 A122989 A222246
KEYWORD
nonn,base,more
AUTHOR
Pedro K. Krause, Jan 01 2023
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 12 08:42 EDT 2024. Contains 372432 sequences. (Running on oeis4.)