A264856 Index of first row of triangle A125605 containing n.
0, 2, 3, 4, 5, 6, 7, 6, 9, 10, 11, 8, 11, 10, 15, 16, 17, 18, 14, 12, 15, 22, 12, 18, 12, 22, 27, 18, 13, 20, 15, 32, 33, 34, 13, 36, 37, 14, 15, 14, 38, 42, 43, 44, 45, 16, 24, 13, 25, 50, 51, 52, 53, 54, 31, 56, 45, 58, 59, 60, 19, 62, 63, 64, 65, 66, 67
Offset: 1
Keywords
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 1..1000
Programs
-
Haskell
import Data.List (findIndex); import Data.Maybe (fromJust) a264856 n = fromJust $ findIndex (elem n) a125605_tabl