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 A362626 #21 Mar 27 2025 02:23:45 %S A362626 1,2,3,4,5,5,6,5,4,3,2,3,4,5,6,7,7,6,6,5,5,4,5,5,6,6,7,7,7,6,7,6,5,6, %T A362626 7,6,6,7,7,7,8,7,7,6,7,7,8,7,8,7,8,8,8,7,6,6,7,8,8,7,7,8,8,8,8,7,8,8, %U A362626 8,9,9,8,8,7,8,9,8,8,9,8,8,9,10,9,9,9,8,7,7 %N A362626 a(n) is the smallest number of 1's used in expressing n as a calculation containing only decimal repunits and operators +, -, * and /, where fractions are allowed as intermediate results. %C A362626 a(n+1) <= a(n) + 1. %C A362626 a(n) <= a(i) + a(j), for all i O j = n, for O = +, -, *, /. %H A362626 Michael S. Branicky, <a href="/A362626/b362626.txt">Table of n, a(n) for n = 1..10000</a> %e A362626 a(74) = 7, since 74 = 111/(1+(1/(1+1))). %e A362626 a(111) = 3. %Y A362626 Cf. A002275, A005245, A362471. %K A362626 nonn,base %O A362626 1,2 %A A362626 _Yifan Xie_, _Haochen Mi_ and _Michael S. Branicky_, Apr 28 2023