OFFSET
1,4
COMMENTS
Also known as (exponent of 3 in n-th number of the form 3^i * 6^j) - (exponent of 2 in n-th number of the form 3^i * 6^j). - David A. Corneth, Jan 12 2021
LINKS
David A. Corneth, Table of n, a(n) for n = 1..10000
EXAMPLE
a(5) = 1 as the 5th number of the form 3^i * 6^j is 18 = 3^1 * 6^1 which has exponent of 3 equal to 1. - David A. Corneth, Jan 12 2021
MATHEMATICA
SortBy[Join @@ Table[{i, 3^i*6^j}, {i, 0, Log[3, #]}, {j, 0, Log[6, #/3^i]}], Last] &[10^8][[All, 1]] (* Michael De Vlieger, Jan 12 2021, after Amiram Eldar at A025614 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved