OFFSET
1,2
COMMENTS
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
PROG
(Haskell)
import Data.List (delete)
a259542 n = a259542_list !! (n-1)
a259542_list = 1 : f 1 [3, 5 ..] where
f x zs = g zs where
g (y:ys) = if a010054 ((x + y) `div` 2) == 1
then y : f y (delete y zs) else g ys
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jun 30 2015
STATUS
approved