OFFSET
0,2
COMMENTS
Length of n-th row given by A000120(n);
Min of n-th row given by A001511(n);
Sum of n-th row given by A029931(n);
Product of n-th row given by A096111(n);
Max of n-th row given by A113473(n);
Numerator of sum of reciprocals of n-th row given by A116416(n);
Denominator of sum of reciprocals of n-th row given by A116417(n);
LCM of n-th row given by A271410(n).
The first appearance of n is at A001787(n - 1).
n-th row begins at index A000788(n - 1) for n > 0.
Also the reversed positions of 1's in the reversed binary expansion of n. Also the reversed partial sums of the n-th composition in standard order (row n of A066099). Reversing rows gives A048793. - Gus Wiseman, Jan 17 2023
LINKS
Peter Kagey, Table of n, a(n) for n = 0..10000
EXAMPLE
Row n is given by the exponents in the binary expansion of 2*n. For example, row 5 = [3, 1] because 2*5 = 2^3 + 2^1.
Row 0: []
Row 1: [1]
Row 2: [2]
Row 3: [2, 1]
Row 4: [3]
Row 5: [3, 1]
Row 6: [3, 2]
Row 7: [3, 2, 1]
MAPLE
T:= proc(n) local i, l, m; l:= NULL; m:= n;
if n=0 then return [][] fi; for i while m>0 do
if irem(m, 2, 'm')=1 then l:=i, l fi od; l
end:
seq(T(n), n=0..35); # Alois P. Heinz, Nov 27 2024
MATHEMATICA
Table[Reverse[Join@@Position[Reverse[IntegerDigits[n, 2]], 1]], {n, 0, 100}] (* Gus Wiseman, Jan 17 2023 *)
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Peter Kagey, Apr 17 2016
STATUS
approved