OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
PROG
(Haskell)
import Data.List (elemIndices)
a125217 n = a125217_list !! (n-1)
a125217_list = map (+ 1) $ elemIndices 1 a125203_list
-- Reinhard Zumkeller, Jan 02 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Nov 24 2006
STATUS
approved