cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A283750 a(n) = n^2 XOR (n + 1)^2.

This page as a plain text file.
%I A283750 #16 Feb 16 2025 08:33:43
%S A283750 1,5,13,25,9,61,21,113,17,53,29,233,57,109,37,481,33,101,45,249,41,93,
%T A283750 1013,81,49,213,125,457,89,205,69,1985,65,197,77,473,73,253,85,945,
%U A283750 209,117,477,169,121,4013,229,417,97,165,1005,185,105,413,181,1937,241,405,189,905,153,397,133,8065,129,389,141,921
%N A283750 a(n) = n^2 XOR (n + 1)^2.
%C A283750 XOR the binary representations of n^2 and (n + 1)^2.
%H A283750 Antti Karttunen, <a href="/A283750/b283750.txt">Table of n, a(n) for n = 0..20000</a>
%H A283750 Ilya Gutkovskiy, <a href="/A283750/a283750.pdf">Extended graphical example</a>
%H A283750 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/XOR.html">XOR</a>
%H A283750 <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a>
%F A283750 a(n) = A000290(n) XOR A000290(n+1).
%t A283750 Table[BitXor[n^2, (n + 1)^2], {n, 0, 67}]
%o A283750 (PARI) A283750(n) = bitxor(n^2, (n+1)^2); \\ _Indranil Ghosh_, Mar 15 2017, _Antti Karttunen_, Dec 16 2024
%o A283750 (Python) def A283750(n): return (n**2)^(n + 1)**2 # _Indranil Ghosh_, Mar 15 2017
%Y A283750 Cf. A000290, A003987, A016813 (records), A038712, A112591, A169810.
%Y A283750 Cf. also A379007.
%K A283750 nonn
%O A283750 0,2
%A A283750 _Ilya Gutkovskiy_, Mar 15 2017