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 A119476 #4 Nov 05 2023 09:02:01 %S A119476 1,3,4,5,5,6,6,7,6,7,7,8,7,8,8,9,7,8,8,9,8,9,9,10,8,9,9,10,9,10,10,11, %T A119476 8,9,9,10,9,10,10,11,9,10,10,11,10,11,11,12,9,10,10,11,10,11,11,12,10, %U A119476 11,11,12,11,12,12,13,9,10,10,11,10,11,11,12,10,11,11,12,11,12,12,13,10,11 %N A119476 a(1)=1, a(n)=a((n+1)/2)+1 if n is odd, a(n)=a(n/2)+2 if n is even. %t A119476 a[1]=1;a[n_]:=a[n]=If[OddQ[n],a[(n+1)/2]+1,a[n/2]+2]; Table[a[n],{n,300}] %Y A119476 Cf. A119477. %K A119476 nonn %O A119476 1,2 %A A119476 _Zak Seidov_, May 22 2006