OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
a[n_] := Times @@ ({2, 3, 5}^IntegerExponent[n, {2, 3, 5}]); Array[a, 100]
PROG
(PARI) a(n) = 3^valuation(n, 3) * 5^valuation(n, 5) << valuation(n, 2);
(Python)
from sympy import multiplicity as v
def a(n): return 2**v(2, n) * 3**v(3, n) * 5**v(5, n)
print([a(n) for n in range(1, 81)]) # Michael S. Branicky, Jul 08 2022
CROSSREFS
KEYWORD
nonn,mult,easy
AUTHOR
Amiram Eldar, Jul 08 2022
STATUS
approved