OFFSET
0,2
COMMENTS
In other words, function f(m) = Product_{i=0..Floor(log_2(m))} prime(i), with i the index of 1's in the binary expansion of m.
A permutation of the natural numbers.
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..16384 (rows j = 0..13, flattened)
Michael De Vlieger, Scatterplot of a(n), n = 0..131071.
Michael De Vlieger, Log log scatterplot of a(n), n = 0..131071
Michael De Vlieger, Fan style binary tree of T(j,k), j = 0..10, k = 1..2^(j-1), i.e., a(n) = 0..2047, with a color function where k = 1 is green, k = 2^(j-1) in red, indicating displacement of a(n) from its order in the natural numbers.
FORMULA
Length of row j is 2^(j-1) = A000079(j-1).
T(0,1) = a(0) = 1.
T(j,1) = a(2^(j-1)) = 2^(j-1) + 1.
T(j, 2^(j-1)) = a(2^j - 1) = 2^j.
EXAMPLE
Table below shows rows j = 0..5:
j\k 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
-------------------------------------------------------------------
0: 1;
1: 2;
2: 3, 4;
3: 5, 6, 7, 8;
4: 9, 10, 12, 11, 13, 14, 15, 16;
5: 17, 18, 20, 19, 24, 21, 25, 22, 26, 23, 28, 27, 29, 30, 31, 32;
.
These correspond with values f(T(j,k)) as shown below:
j\k 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
-------------------------------------------------------------------------------
0: 1;
1: 2;
2: 3, 6;
3: 5, 10, 15, 30;
4: 7, 14, 21, 35, 42, 70, 105, 210;
5: 11, 22, 33, 55, 66, 77, 110, 154, 165, 231, 330, 385, 462, 770, 1155, 2310;
.
MATHEMATICA
Flatten@ Table[
SortBy[Range[2^n, 2^(n + 1) - 1],
Times @@ Flatten@
MapIndexed[Prime[#2]^#1 &,
Reverse@ IntegerDigits[#, 2]] &], {n, 0, 8}]
CROSSREFS
KEYWORD
nonn,tabf,easy
AUTHOR
Michael De Vlieger, Jan 02 2025
STATUS
approved
