A030333 Position of n-th 1 in A003137.
1, 3, 5, 6, 7, 12, 15, 18, 20, 21, 24, 25, 27, 28, 29, 30, 31, 33, 36, 38, 39, 47, 52, 55, 56, 58, 65, 69, 73, 76, 77, 81, 83, 85, 87, 88, 89, 91, 93, 97, 100, 101, 105, 106, 109, 110, 112, 113, 114, 117, 118, 119, 121, 122, 123, 124, 125
Offset: 1
Keywords
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Programs
-
Haskell
import Data.List (elemIndices) a030333 n = a030333_list !! (n-1) a030333_list = map (+ 1) $ elemIndices 1 a003137_list -- Reinhard Zumkeller, Feb 21 2013
Comments