login
a(n) is the square root of A338502(1) XOR ... XOR A338502(n) (where XOR denotes the bitwise XOR operator).
2

%I #9 Nov 03 2020 03:24:53

%S 0,1,2,0,3,1,4,0,5,1,6,7,4,2,3,6,2,5,7,1,8,10,9,5,6,4,8,11,6,10,7,0,9,

%T 3,7,9,6,8,2,11,4,10,1,11,3,8,5,12,14,13,6,12,15,10,14,8,15,11,0,12,4,

%U 13,1,12,2,13,0,14,9,15,6,14,11,13,10,12,3,15

%N a(n) is the square root of A338502(1) XOR ... XOR A338502(n) (where XOR denotes the bitwise XOR operator).

%H Rémy Sigrist, <a href="/A338503/b338503.txt">Table of n, a(n) for n = 1..10000</a>

%H Rémy Sigrist, <a href="/A338503/a338503.gp.txt">PARI program for A338503</a>

%e For n = 3:

%e - A338502(1) AND A338502(2) AND A338502(3) = 0 AND 1 AND 5 = 4 = 2^2,

%e - so a(3) = 2.

%o (PARI) See Links section.

%Y Cf. A292389, A338502.

%K nonn,base

%O 1,3

%A _Rémy Sigrist_, Oct 31 2020