OFFSET
1,1
COMMENTS
If k is a term, then 2*k is also a term, and vice versa.
LINKS
PROG
(PARI)
is_A006995(n) = (Vecrev(n=binary(n)) == n);
A006068(n) = { my(s=1, ns); while(1, ns = n >> s; if(0==ns, return(n)); n = bitxor(n, ns); s <<= 1); };
A048720(b, c) = fromdigits(Vec(Pol(binary(b))*Pol(binary(c)))%2, 2);
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Dec 20 2025
STATUS
approved
