OFFSET
0,4
LINKS
FORMULA
a(n) = A048724(n) mod 3.
PROG
(Python)
def A284574(n): return (n^ n<<1)%3 # Chai Wah Wu, Jun 29 2022
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Apr 10 2017
STATUS
approved