OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..200
Eric Weisstein's World of Mathematics, Hofstadter's Q-Sequence
Wikipedia, Hofstadter sequence
PROG
(Haskell)
import Data.List (elemIndices)
a194626 n = a194626_list !! (n-1)
a194626_list = map (+ 1) $ elemIndices 1 a081827_list
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Sep 15 2011
STATUS
approved