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”).

A163788
a(n) is the n-th J_8-prime (Josephus_8 prime).
2
2, 6, 10, 62, 321, 350, 686, 3217, 4981, 21785, 22305, 350878, 378446, 500241, 576033, 659057, 917342
OFFSET
1,1
COMMENTS
Place the numbers 1..N (N>=2) on a circle and cyclicly mark the 8th unmarked number until all N numbers are marked. The order in which the N numbers are marked defines a permutation; N is a J_8-prime if this permutation consists of a single cycle of length N.
There are 17 J_8-primes in the interval 2..1000000 only. No formula is known; the J_8-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_8-prime (trivial).
CROSSREFS
Cf. A163782 through A163787 for J_2- through J_7-primes.
Cf. A163789 through A163800 for J_9- through J_20-primes.
Sequence in context: A222559 A095107 A115113 * A361792 A324547 A093880
KEYWORD
nonn,more
AUTHOR
Peter R. J. Asveld, Aug 05 2009
STATUS
approved