OFFSET
1,3
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
a[n_] := GCD[n, IntegerExponent[n, 2]]; Array[a, 100]
PROG
(PARI) a(n) = gcd(n, valuation(n, 2));
CROSSREFS
KEYWORD
nonn,easy,new
AUTHOR
Amiram Eldar, Dec 10 2024
STATUS
approved