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 A244476 #11 Jun 20 2022 05:40:00 %S A244476 2,8,15,26,45,75,121,199,322,542,877,1427,2309,3739,6050,9790,15841, %T A244476 25632,41473,67105,108578,175683,284261,459944,744205,1204149,1948354, %U A244476 3152503,5100857,8253360 %N A244476 6th-largest term in n-th row of Stern's diatomic triangle A002487. %H A244476 Jennifer Lansing, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL17/Lansing/lansing2.html">Largest Values for the Stern Sequence</a>, Journal of Integer Sequences, Vol. 17 (2014), Article 14.7.5. %o A244476 (Python) %o A244476 from functools import reduce %o A244476 from itertools import product %o A244476 def A244476(n): return sorted(set(sum(reduce(lambda x,y:(x[0],x[0]+x[1]) if y else (x[0]+x[1],x[1]),k,(1,0))) for k in product((False,True),repeat=n)),reverse=True)[5] # _Chai Wah Wu_, Jun 19 2022 %Y A244476 Cf. A002487, A244472, A244473, A244474, A244475. %K A244476 nonn,more %O A244476 4,1 %A A244476 _N. J. A. Sloane_, Jul 01 2014 %E A244476 a(24)-a(33) from _Chai Wah Wu_, Jun 19 2022