OFFSET
1,11
COMMENTS
a(A081829(n))<0; a(A081828(n))=0; a(A081830(n))>0; a(A194626(n))=1. [Reinhard Zumkeller, Sep 15 2011]
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Hofstadter's Q-Sequence
Wikipedia, Hofstadter sequence
PROG
(Haskell)
a081827 n = a081827_list !! (n-1)
a081827_list = zipWith (-) (tail a005185_list) a005185_list
b081827 = bFile "A081827" a081827_list 1 10000 -- (0.34 secs)
-- Reinhard Zumkeller, Sep 15 2011
KEYWORD
sign,look
AUTHOR
Benoit Cloitre, Apr 10 2003
STATUS
approved