OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..1000
EXAMPLE
PROG
(Haskell)
a251608 n = a251608_list !! (n-1)
a251608_list = 2 : 3 : f 2 3 (drop 5 a000045_list) where
f u v (w:ws) = if gcd u w > 1 && gcd v w == 1
then w : f v w ws else f u v ws
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Dec 05 2014
STATUS
approved