login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A325568 a(1) = 0; for n > 1, a(n) = 1 + a(A325567(n)). 5

%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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 17 22:23 EDT 2024. Contains 371767 sequences. (Running on oeis4.)