OFFSET
0
LINKS
EXAMPLE
For n = 135, A003415(135) = 162, which leaves the remainder 2 when divided by 4, therefore a(135) = 1.
PROG
CROSSREFS
Characteristic function of A327862.
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 22 2022
STATUS
approved