login
A375216
n is the a(n)-th nonnegative integer having its multiset of binary digits.
1
1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 3, 2, 3, 1, 1, 1, 2, 1, 3, 2, 3, 1, 4, 4, 5, 2, 6, 3, 4, 1, 1, 1, 2, 1, 3, 2, 3, 1, 4, 4, 5, 2, 6, 3, 4, 1, 5, 7, 8, 5, 9, 6, 7, 2, 10, 8, 9, 3, 10, 4, 5, 1, 1, 1, 2, 1, 3, 2, 3, 1, 4, 4, 5, 2, 6, 3, 4, 1, 5, 7, 8, 5, 9, 6, 7, 2, 10, 8, 9, 3, 10, 4, 5, 1, 6, 11, 12, 11, 13
OFFSET
0,7
LINKS
FORMULA
Ordinal transform of A073137.
EXAMPLE
a(26) = 5 because 26 is the 5th nonnegative integer having its multiset of binary digits: 19 = 10011_2, 21 = 10101_2, 22 = 10110_2, 25 = 11001_2, 26 = 11010_2.
MAPLE
p:= proc() 0 end:
a:= proc(n) option remember; local t;
t:= sort(Bits[Split](n)); p(t):= p(t)+1
end:
seq(a(n), n=0..100);
CROSSREFS
Cf. A073137.
Sequence in context: A350333 A138010 A206487 * A209062 A167204 A376758
KEYWORD
nonn,look,base
AUTHOR
Alois P. Heinz, Jan 30 2025
STATUS
approved