cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A361478 Irregular table T(n, k), n >= 0, k = 1..A361477(n), read by rows; the n-th row lists the integers whose binary expansions have the same multiset of run-lengths as that of n.

This page as a plain text file.
%I A361478 #13 Mar 30 2023 15:14:26
%S A361478 0,1,2,3,4,6,5,4,6,7,8,14,9,11,13,10,9,11,13,12,9,11,13,8,14,15,16,30,
%T A361478 17,23,29,18,20,22,26,19,25,27,18,20,22,26,21,18,20,22,26,17,23,29,24,
%U A361478 28,19,25,27,18,20,22,26,19,25,27,24,28,17,23,29,16,30
%N A361478 Irregular table T(n, k), n >= 0, k = 1..A361477(n), read by rows; the n-th row lists the integers whose binary expansions have the same multiset of run-lengths as that of n.
%C A361478 This sequence has similarities with A187786; here we consider multisets of run-lengths, there multisets of digits in binary expansions.
%H A361478 Rémy Sigrist, <a href="/A361478/b361478.txt">Table of n, a(n) for n = 0..6009</a> (rows for n = 0..511 flattened)
%H A361478 Rémy Sigrist, <a href="/A361478/a361478.gp.txt">PARI program</a>
%H A361478 <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a>
%F A361478 T(n, 1) = A361479(n).
%F A361478 T(n, A361477(n)) = A361480(n).
%e A361478 Table T(n, k) begins (in decimal and in binary):
%e A361478   n   n-th row    bin(n)  n-th row in binary
%e A361478   --  ----------  ------  ------------------
%e A361478    0  0                0  0
%e A361478    1  1                1  1
%e A361478    2  2               10  10
%e A361478    3  3               11  11
%e A361478    4  4, 6           100  100, 110
%e A361478    5  5              101  101
%e A361478    6  4, 6           110  100, 110
%e A361478    7  7              111  111
%e A361478    8  8, 14         1000  1000, 1110
%e A361478    9  9, 11, 13     1001  1001, 1011, 1101
%e A361478   10  10            1010  1010
%e A361478   11  9, 11, 13     1011  1001, 1011, 1101
%e A361478   12  12            1100  1100
%e A361478   13  9, 11, 13     1101  1001, 1011, 1101
%e A361478   14  8, 14         1110  1000, 1110
%e A361478   15  15            1111  1111
%e A361478   16  16, 30       10000  10000, 11110
%o A361478 (PARI) See Links section.
%Y A361478 Cf. A187786, A361477, A361479, A361480.
%K A361478 nonn,base,tabf
%O A361478 0,3
%A A361478 _Rémy Sigrist_, Mar 13 2023