OFFSET
0
COMMENTS
The set of n such that a(n)=0 has asymptotic density 1/2.
LINKS
Lukas Spiegelhofer, Thue-Morse along the sequence of cubes, arXiv:2308.09498 [math.NT], 2023.
FORMULA
a(n) = A010060(n^3).
MATHEMATICA
Table[ThueMorse[n^3], {n, 0, 100}] (* Amiram Eldar, Aug 21 2023 *)
PROG
(Sage) def a(n): return sum((n^3).digits(2))%2
(Python)
def A365089(n): return (n**3).bit_count()&1 # Chai Wah Wu, Aug 22 2023
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Lukas Spiegelhofer, Aug 21 2023
STATUS
approved