OFFSET
1,2
COMMENTS
Position of the n-th occurrence of the digit 1 in A105083(n-1) for n>=1. - Jeffrey Shallit, Mar 08 2025
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Larry Ericksen and Peter G. Anderson, Patterns in differences between rows in k-Zeckendorf arrays, The Fibonacci Quarterly, Vol. 50, No. 1 (February 2012), pp. 11-18.
Jeffrey Shallit, The Narayana Morphism and Related Words, arXiv:2503.01026 [math.CO], 2025.
Eric Weisstein's World of Mathematics, Hofstadter H-Sequence.
Wikipedia, Hofstadter sequence
FORMULA
A202340(a(n)) = 2.
PROG
(Haskell)
import Data.List (elemIndices)
a202342 n = a202342_list !! (n-1)
a202342_list = elemIndices 2 a202340_list
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Reinhard Zumkeller, Dec 17 2011
STATUS
approved