A257508 Next-to-leaf vertices in binary beanstalk; Numbers n for which A257265(n) = 1.
1, 3, 4, 7, 10, 11, 15, 18, 22, 23, 25, 26, 31, 34, 38, 39, 41, 46, 47, 49, 50, 54, 56, 57, 63, 66, 70, 71, 73, 78, 79, 81, 82, 86, 88, 94, 95, 97, 98, 102, 104, 105, 110, 113, 116, 117, 119, 120, 127, 130, 134, 135, 137, 142, 143, 145, 146, 150, 152, 158, 159, 161, 162, 166, 168, 169, 174, 177, 180, 181
Offset: 1
Keywords
Examples
3 is present because it has an immediate leaf-child 5, as A011371(5) = 3. 4 is present because it has an immediate leaf-child 6, as A011371(6) = 4. 10 is present because it has two immediate leaf-children, 12 and 13, as A011371(12) = A011371(13) = 10. See also Paul Tek's illustration.
Links
Crossrefs
Programs
-
Haskell
a257508 n = a257508_list !! (n-1) a257508_list = filter ((== 1) . a257265) [0..] -- Reinhard Zumkeller, May 06 2015
Comments