OFFSET
0,3
LINKS
EXAMPLE
A341335(42) = 52, so a(52) = 42.
PROG
(PARI) a(n) = { my (c=binary(n), b=c); for (m=1, #b, fordiv (m, d, if (d<m, b[m] = (b[m] + b[d])%2))); fromdigits(b, 2) }
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Apr 25 2021
STATUS
approved