OFFSET
1
LINKS
MATHEMATICA
pow[n_] := If[n == 2^IntegerExponent[n, 2], 1, 0];
a[n_] := pow[Numerator[DivisorSigma[-1, n]]]; Array[a, 100] (* Amiram Eldar, Mar 20 2023 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 20 2023
STATUS
approved