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.
%I A083742 #8 Jun 27 2021 07:53:25 %S A083742 0,1,2,2,4,3,4,3,7,5,6,4,7,5,6,4,11,8,9,6,10,7,8,5,11,8,9,6,10,7,8,5, %T A083742 16,12,13,9,14,10,11,7,15,11,12,8,13,9,10,6,16,12,13,9,14,10,11,7,15, %U A083742 11,12,8,13,9,10,6,22,17,18,13,19,14,15,10,20,15,16,11,17 %N A083742 First differences of A006282. %D A083742 D. E. Knuth, Art of Computer Programming, Sorting and Searching, Addison-Wesley, 1973, Section 5.2.2, ex. 14,15. %H A083742 J.-P. Allouche and J. Shallit, <a href="http://www.cs.uwaterloo.ca/~shallit/Papers/as0.ps">The ring of k-regular sequences</a>, Theoretical Computer Sci., 98 (1992), 163-197, ex. 29. %F A083742 a(0)=0, a(2n)=a(n)+floor(log_2(2n)), a(2n+1)=a(n)+1. %o A083742 a(n)=if(n<1,0,if(n%2==0,a(n/2)+floor(log(n)/log(2)),a((n-1)/2)+1)) %K A083742 nonn,easy %O A083742 0,3 %A A083742 _Ralf Stephan_, May 05 2003