login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A365089
The Thue-Morse sequence along the sequence of cubes.
1
0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1
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