OFFSET
1
LINKS
FORMULA
a(n) = 1 if A033879(n) > 0, 0 otherwise.
a(n) = 1 - A294936(n).
a(n) = 1 - sign(floor(sigma(n)/(2*n))), where sigma is the sum of the divisors of n (A000203). - Wesley Ivan Hurt, Oct 01 2020
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = A318172. - Amiram Eldar, Jul 25 2022
MATHEMATICA
Table[1 - Sign[Floor[DivisorSigma[1, n]/(2 n)]], {n, 100}] (* Wesley Ivan Hurt, Oct 02 2020 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Antti Karttunen, Nov 12 2017
STATUS
approved