OFFSET
0,3
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..100
FORMULA
PROG
(Haskell)
a061985 n = a061985_list !! n
a061985_list = f (-1) a061984_list where
f u (v:vs) = if v == u then f u vs else v : f v vs
-- Reinhard Zumkeller, Jan 11 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Henry Bottomley, May 24 2001
STATUS
approved