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 A087706 #13 Sep 02 2023 11:26:58 %S A087706 1,1,2,7,2,6,7,3,181,6,4,7,21,5,181,42,6,17,11,7,12,21,8,482,181,9,42, %T A087706 16,10,17,81,11,31,32,12,56,21,13,22,482,14,181,67,15,42,26,16,27,46, %U A087706 17,132,81,18,232,31,19,32,417,20 %N A087706 A087705/5. %o A087706 (Python) %o A087706 from fractions import Fraction %o A087706 def A087706(n): %o A087706 x = Fraction(n,1) %o A087706 while x.denominator > 1 or x<=n: %o A087706 x = Fraction(5*x.__floor__(),3) %o A087706 return int(x)//5 # _Chai Wah Wu_, Sep 01 2023 %K A087706 nonn %O A087706 2,3 %A A087706 _N. J. A. Sloane_, Sep 29 2003