OFFSET
1,2
COMMENTS
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
PROG
(Haskell)
import Data.List (delete)
a259565 n = a259565_list !! (n-1)
a259565_list = 1 : f 1 [3, 5 ..] where
f x zs = g zs where
g (y:ys) = if a008966 ((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