OFFSET

0,3

COMMENTS

This sequence has similarities with A187786; here we consider multisets of run-lengths, there multisets of digits in binary expansions.

LINKS

Rémy Sigrist, Table of n, a(n) for n = 0..6009 (rows for n = 0..511 flattened)

Rémy Sigrist, PARI program

EXAMPLE

Table T(n, k) begins (in decimal and in binary):

n n-th row bin(n) n-th row in binary

-- ---------- ------ ------------------

0 0 0 0

1 1 1 1

2 2 10 10

3 3 11 11

4 4, 6 100 100, 110

5 5 101 101

6 4, 6 110 100, 110

7 7 111 111

8 8, 14 1000 1000, 1110

9 9, 11, 13 1001 1001, 1011, 1101

10 10 1010 1010

11 9, 11, 13 1011 1001, 1011, 1101

12 12 1100 1100

13 9, 11, 13 1101 1001, 1011, 1101

14 8, 14 1110 1000, 1110

15 15 1111 1111

16 16, 30 10000 10000, 11110

PROG

(PARI) See Links section.

CROSSREFS

KEYWORD

nonn,base,tabf

AUTHOR

Rémy Sigrist, Mar 13 2023

STATUS

approved