login
a(0)=2; thereafter a(n) = XOR(b(n), b(n+2)), where b is A109812.
1

%I #10 Apr 06 2022 15:46:33

%S 2,5,1,12,6,2,21,12,25,20,5,3,2,49,9,56,38,12,42,48,24,12,6,10,24,18,

%T 2,112,25,105,84,48,100,88,60,100,82,50,40,12,36,56,88,96,48,19,11,8,

%U 167,69,226,156,124,224,156,76,208,169,120,193,24,12,6,3,5,12,9,1,176,116,196,176,112,67,35,96,84,48,96,196,162,98,72,24,144,168

%N a(0)=2; thereafter a(n) = XOR(b(n), b(n+2)), where b is A109812.

%C The initial a(0)=2 is present because A109812 should really have started with A109812(0)=0.

%H Rémy Sigrist, <a href="/A352577/b352577.txt">Table of n, a(n) for n = 0..10000</a>

%H Rémy Sigrist, <a href="/A352577/a352577.txt">C++ program</a>

%o (C++) See Links section.

%Y Cf. A109812.

%K nonn,base,look

%O 0,1

%A _N. J. A. Sloane_, Apr 06 2022, following a suggestion from _Allan C. Wechsler_.