login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A163798
a(n) is the n-th J_18-prime (Josephus_18 prime).
2
2, 5, 462, 530, 6021, 14686, 19537, 67161
OFFSET
1,1
COMMENTS
Place the numbers 1..N (N>=2) on a circle and cyclicly mark the 18th unmarked number until all N numbers are marked. The order in which the N numbers are marked defines a permutation; N is a J_18-prime if this permutation consists of a single cycle of length N.
There are 8 J_18-primes in the interval 2..1000000 only. No formula is known; the J_18-primes were found by exhaustive search.
REFERENCES
R. L. Graham, D. E. Knuth & O. Patashnik, Concrete Mathematics (1989), Addison-Wesley, Reading, MA. Sections 1.3 & 3.3.
EXAMPLE
2 is a J_18-prime (trivial).
CROSSREFS
Cf. A163762 through A163797 for J_2- through J_17-primes.
Cf. A163799 through A163800 for J_19- through J_20-primes.
Sequence in context: A035128 A208211 A138696 * A081296 A133378 A283561
KEYWORD
nonn,more
AUTHOR
Peter R. J. Asveld, Aug 04 2009
STATUS
approved