A030334 Position of n-th 2 in A003137.
2, 8, 9, 11, 13, 14, 23, 32, 34, 37, 40, 41, 42, 45, 48, 50, 51, 54, 57, 59, 60, 61, 63, 64, 66, 67, 68, 80, 92, 95, 99, 103, 104, 116, 128, 131, 135, 139, 140, 142, 146, 150, 152, 154, 158, 162, 164, 166, 167, 170, 171, 174, 175, 176
Offset: 1
Keywords
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Programs
-
Haskell
import Data.List (elemIndices) a030334 n = a030334_list !! (n-1) a030334_list = map (+ 1) $ elemIndices 2 a003137_list -- Reinhard Zumkeller, Feb 21 2013
Comments