OFFSET
1,2
COMMENTS
Conjecture:
Let c(n)>=43 be prime. Then
1) c(n+1) is even;
2) c(n+(2*a(n)-1)) = 2*q, where q>c(n) is prime;
3) If c(n)>=97 is prime, then in 2) q is the next prime after c(n).
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
David L. Applegate, Hans Havermann, Bob Selcoe, Vladimir Shevelev, N. J. A. Sloane, and Reinhard Zumkeller, The Yellowstone Permutation, arXiv preprint arXiv:1501.01669, 2015 and J. Int. Seq. 18 (2015) 15.6.7.
PROG
(Haskell)
a252837 n = a252837_list !! (n-1)
a252837_list = f a098550_list where
f us = (h 0 vs) : f vs where
(_:vs) = dropWhile ((== 0) . a010051') us
h e (w:_:ws) = if even w then h (e + 1) ws else e
-- Reinhard Zumkeller, Mar 11 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Dec 22 2014
STATUS
approved