OFFSET
0
COMMENTS
LINKS
EXAMPLE
For n = 1, floor(1/4^0) = 1 is odd and A320006(0) = 1, thus a(1) = 1.
For n = 4, floor(4/4^1) = 1 is odd and A320006(1) = 1, thus a(4) = 1.
For n = 9, floor(9/4^0) = 9 is odd and A320006(0) = 1, thus a(9) = 1.
For n = 14, floor(14/4^0) = 14 is even but floor(14/4^1) = 3 is odd with A320006(1) = 1, thus a(14) = 1.
For n = 16, floor(16/4^2) = 1 is odd, but A320006(2) = 0, thus a(16) = 0.
For n = 256, floor(256/4^4) = 1 is odd, and A320006(4) = 1, thus a(256) = 1.
For n = 272, floor(272/4^2) = 17 is odd, but with A320006(2) = 0. However, floor(272/4^4) = 1 is also odd and A320006(1) = 1, thus a(272) = 1.
For n = 2^64 = 18446744073709551616, floor(2^64/4^32) = 1 is odd, but A320006(32) = 0, thus a(2^64) = 0.
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 18 2018
STATUS
approved