OFFSET
0,2
COMMENTS
XOR the binary representations of n^2 and (n + 1)^2.
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..20000
Ilya Gutkovskiy, Extended graphical example
Eric Weisstein's World of Mathematics, XOR
MATHEMATICA
Table[BitXor[n^2, (n + 1)^2], {n, 0, 67}]
PROG
(PARI) A283750(n) = bitxor(n^2, (n+1)^2); \\ Indranil Ghosh, Mar 15 2017, Antti Karttunen, Dec 16 2024
(Python) def A283750(n): return (n**2)^(n + 1)**2 # Indranil Ghosh, Mar 15 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Mar 15 2017
STATUS
approved