login
Bitwise XOR (centrally aligned) of two consecutive terms of A122242.
4

%I #10 Sep 23 2024 14:13:13

%S 164,628,2444,10040,34424,142400,612536,2536016,8772720,36320296,

%T 156298040,648930320,2246427920,9290072680,40123676576,166398412640,

%U 574717970240,2376856817864,10244120543704,42544644116352,146496800436256,607708669110320,2625008220416552,10882360875506928,37586414897168848,156056124134144296

%N Bitwise XOR (centrally aligned) of two consecutive terms of A122242.

%H Antti Karttunen, <a href="/A376402/b376402.txt">Table of n, a(n) for n = 1..1650</a>

%H Antti Karttunen, <a href="/A080069/a080069.py.txt">Python program for computing this sequence and the associated images.</a>

%H Antti Karttunen, <a href="/A376402/a376402.png">Terms a(1)-a(2048) drawn as binary strings, in Wolframesque fashion.</a>

%H <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a>

%F a(n) = A122242(1+n) XOR 2*A122242(n).

%o (PARI) A376402(n) = bitxor(A122242(1+n), 2*A122242(n));

%o (Python) # See the Links section

%Y Cf. A122242 (A014486, A057548, A082358, A122237, A122241).

%Y Cf. also A327973, A376405, A376412.

%K nonn,base

%O 1,1

%A _Antti Karttunen_, Sep 22 2024