OFFSET
0,2
COMMENTS
XOR the binary representations of n^2 and (n + 1)^2.
LINKS
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) for(n=0, 67, print1(bitxor(n^2, (n + 1)^2), ", ")) \\ Indranil Ghosh, Mar 15 2017
(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