OFFSET
1,2
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..2000
EXAMPLE
MATHEMATICA
smQ[n_] := n == Times @@ ({2, 3}^IntegerExponent[n, {2, 3}]);
seq[max_] := Sort@ Flatten@ Table[2^i * 3^j, {i, Select[Range[0, Floor[Log2[max]]], smQ[# + 1] &]}, {j, Select[Range[0, Floor[Log[3, max/2^i]]], smQ[# + 1] &]}]; seq[70000] (* Amiram Eldar, Sep 03 2023 *)
PROG
(Haskell)
a264165 n = a264165_list !! (n-1)
a264165_list = filter ((== 1) . a065333 . a000005') a003586_list
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Nov 19 2015
STATUS
approved