reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
Ivars Peterson, <a href="http://www.sciencenews.org/sn_arc99/1_23_99/mathland.htm">Medieval Harmony</a>. [Broken link]
proposed
editing
editing
proposed
max = 100; Table[2^i *3^j + 2^k* 3^l, {i, 0, Log[2, max] // Ceiling}, {j, 0, Log[3, max] // Ceiling}, {k, 0, Log[2, max] // Ceiling}, {l, 0, Log[3, max] // Ceiling}] // Flatten // Union // Select[#, # <= max &] & (* Jean-François Alcover, Sep 10 2017 *)
approved
editing
editing
approved
(PARI) list(lim)=my(v=List(), u=v, N); for(n=0, log(lim\1+.5)\log(3), N=3^n; while(N<=lim, listput(v, N); N<<=1)); v=Set(v); for(i=1, #v, for(j=i, #v, N=v[i]+v[j]; if(N>lim, break); listput(u, N))); Set(u) \\ Charles R Greathouse IV, Sep 07 2014
approved
editing
editing
approved