OFFSET
1,1
EXAMPLE
For n=1, 1 = 1_2, a(1) = denominator(1/(2^1)) = denominator(1/2) = 2;
For n=2, 2 = 10_2, a(2) = denominator(2/(2^2)) = denominator(1/2) = 2;
For n=3, 3 = 11_2, a(3) = denominator(3/(2^2)) = denominator(3/4) = 4.
PROG
(PARI) a(n) = denominator(n/(2^(#binary(n))));
CROSSREFS
KEYWORD
nonn,base,frac
AUTHOR
Michel Marcus, Apr 02 2019
STATUS
approved