Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #7 May 11 2019 02:23:59
%S 0,1,1,2,1,2,1,3,2,2,1,3,1,2,1,4,1,3,1,3,2,2,1,4,1,2,1,3,1,2,1,5,2,2,
%T 2,4,1,2,1,4,1,3,1,3,2,2,1,5,2,2,1,3,1,2,1,4,1,2,1,3,1,2,1,6,2,3,1,3,
%U 1,3,1,5,1,2,2,3,1,2,1,5,1,2,1,4,1,2,1,4,1,3,1,3,2,2,1,6,1,3,1,3,1,2,1,4,2
%N a(1) = 0; for n > 1, a(n) = 1 + a(A325567(n)).
%H Antti Karttunen, <a href="/A325568/b325568.txt">Table of n, a(n) for n = 1..65537</a>
%F a(1) = 0; for n > 1, a(n) = 1 + a(A325567(n)).
%F a(n) <= A001222(n) for all n.
%o (PARI)
%o A048720(b,c) = fromdigits(Vec(Pol(binary(b))*Pol(binary(c)))%2, 2);
%o A065621(n) = bitxor(n-1,n+n-1);
%o A325567(n) = if(1==n,n,fordiv(n,d,if((d>1)&&A048720(A065621(n/d),d)==n,return(n/d))));
%o A325568(n) = if(1==n,0,1+A325568(A325567(n)));
%Y Cf. A001222, A048720, A065621, A115872, A325565, A325566, A325567, A325569.
%K nonn
%O 1,4
%A _Antti Karttunen_, May 09 2019