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.
LINKS
P. R. J. Asveld, Permuting Operations on Strings and Their Relation to Prime Numbers, Discrete Applied Mathematics 159 (2011) 1915-1932.
P. R. J. Asveld, Permuting Operations on Strings-Their Permutations and Their Primes, Twente University of Technology, 2014. University link.
EXAMPLE
2 is a J_18-prime (trivial).
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Peter R. J. Asveld, Aug 04 2009
STATUS
approved