OFFSET
1,6
LINKS
MAPLE
f:= proc(n) local L, P, R, i;
L:= convert(n, base, 2);
P:= add(L[i]*X^(i-1), i=1..nops(L));
R:= Factors(P) mod 2;
nops(R[2]);
end proc:
map(f, [$1.200]); # Robert Israel, Oct 11 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 03 2004
STATUS
approved