%I #18 Jun 10 2022 23:56:29
%S 0,1,0,2,1,0,1,3,2,1,2,0,2,1,2,4,3,2,3,1,3,2,3,0,3,2,3,1,3,2,3,5,4,3,
%T 4,2,4,3,4,1,4,3,4,2,4,3,4,0,4,3,4,2,4,3,4,1,4,3,4,2,4,3,4,6,5,4,5,3,
%U 5,4,5,2,5,4,5,3,5,4,5,1,5,4,5,3,5,4,5
%N a(n) is the index of the bit that was inverted in A340250(n) to get A340250(n+1).
%H Rémy Sigrist, <a href="/A340251/b340251.txt">Table of n, a(n) for n = 0..8191</a>
%H Rémy Sigrist, <a href="/A340251/a340251.png">Colored scatterplot of the ordinal transform of the first 2^16 terms</a> (where the color is function of a(n))
%H Rémy Sigrist, <a href="/A340251/a340251.gp.txt">PARI program for A340251</a>
%F A340250(n+1) = A340250(n) XOR 2^a(n) (where XOR denotes the bitwise XOR operator).
%o (PARI) See Links section.
%Y Cf. A340250.
%K nonn,base
%O 0,4
%A _Rémy Sigrist_, Jan 02 2021
|