OFFSET
2,1
COMMENTS
It appears that for squarefree n, a(n) has a reptend of maximal length and for square n, a(n) has a reptend of half the maximal length.
Not every prime appears in this sequence - excluding 2, the first missing prime is 109.
The first composite term is a(81).
How many times can a term appear consecutively?
How does a(n) grow with n?
LINKS
SeqFans Mailing List, Smallest pandigital reptend of 1/n in base b
EXAMPLE
a(10) = 17 because 1/17 = 0.(0588235294117647)... in base 10 where the brackets indicate the reptend. Every digit 0-9 appears within the reptend and is the smallest unit fraction where this is the case.
a(36) = 137 because 1/137 = 0.(09gjyy5s47cvj6khv9q0ix3xwbk8epr2d4zqjg11u7vsn4gtfi4q9zh2w23ofrla8xmv)... in base 36 where the digits 0-9 and letters a-z have been used as additional digits. Every character appears at least once.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Joshua Searle, Mar 29 2025
STATUS
approved
