OFFSET
1,1
COMMENTS
Among the first 484 terms, there are no odd numbers, the only squares are 196, 15376, 1032256, and 18 is the only twice square.
LINKS
FORMULA
EXAMPLE
196 is a term as sigma(196) = 399, 2*196 XOR 399 = 7 is not zero, and A048720(7, 89) = 399.
PROG
(PARI)
divides_in_GF2X(a, b) = { my(Pa=Pol(binary(a))*Mod(1, 2), Pb=Pol(binary(b))*Mod(1, 2)); !lift(Pa % Pb); };
is_A379236(n) = { my(s=sigma(n), x=bitxor(2*n, s)); (x && divides_in_GF2X(n, x)); };
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 05 2025
STATUS
approved
