OFFSET
1,2
COMMENTS
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10001 [a(1)=0 inserted by Georg Fischer, Apr 28 2020]
PROG
(Haskell)
import Data.List (elemIndices)
a031287 n = a031287_list !! (n-1)
a031287_list = map (+ 1) $ elemIndices 0 a007376_list
-- Reinhard Zumkeller, Jul 28 2011
CROSSREFS
KEYWORD
AUTHOR
EXTENSIONS
a(1)=0 inserted for consistency with change in A007376 by Sean A. Irvine, Apr 21 2020
STATUS
approved