cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A332447 a(n) = A007814(A087808(n)).

This page as a plain text file.
%I A332447 #7 Feb 14 2020 18:55:30
%S A332447 0,1,1,2,0,2,0,3,0,1,2,3,0,1,2,4,0,1,1,2,0,3,0,4,0,1,1,2,0,3,0,5,0,1,
%T A332447 1,2,0,2,0,3,0,1,3,4,0,1,1,5,0,1,1,2,0,2,0,3,0,1,3,4,0,1,1,6,0,1,1,2,
%U A332447 0,2,0,3,0,1,2,3,0,1,3,4,0,1,1,2,0,4,0,5,0,1,1,2,0,2,0,6,0,1,1,2,0,2,0,3,0
%N A332447 a(n) = A007814(A087808(n)).
%H A332447 Antti Karttunen, <a href="/A332447/b332447.txt">Table of n, a(n) for n = 1..65537</a>
%H A332447 <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a>
%F A332447 a(n) = A007814(A087808(n)).
%F A332447 For n >= 0, a(2^n) = n. [These are the first occurrences of each n]
%o A332447 (PARI)
%o A332447 A087808(n) = if(n<1, 0, if(n%2==0, 2*A087808(n/2), A087808((n-1)/2)+1));
%o A332447 A332447(n) = valuation(A087808(n),2);
%Y A332447 Cf. A007814, A087808, A332448.
%Y A332447 Cf. A000079 (positions of records), A079523 (of zeros).
%K A332447 nonn
%O A332447 1,4
%A A332447 _Antti Karttunen_, Feb 14 2020