OFFSET
1,5
LINKS
FORMULA
a(n) = A065621(n) modulo n.
PROG
(Python)
def A284552(n): return (n^ (n&~-n)<<1)%n # Chai Wah Wu, Jun 29 2022
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Apr 10 2017
STATUS
approved