OFFSET
1,4
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
N:= 10^20: # to include all 3-smooth numbers <= N
S:= [seq(seq([2^i*3^j, max(i, j)], j=0..floor(log[3](N/2^i))), i=0..floor(log[2](N)))]:
map(p -> p[2], sort(S, (a, b) -> a[1]<b[1])); # Robert Israel, Aug 10 2014
MATHEMATICA
M = 10^5; (* M = 10^5 gives 101 terms *)
S = Flatten[Table[Table[{2^i*3^j, Max[i, j]}, {j, 0, Floor[Log[3, M/2^i]]}], {i, 0, Floor[Log[2, M]]}], 1] // Sort;
S[[All, 2]] (* Jean-François Alcover, Mar 03 2019, after Robert Israel *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Jul 18 2003
STATUS
approved