Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #8 Sep 02 2023 16:58:22
%S 4,4,1,4,3,2,4,8,3,354,18,4,58,8,5,9,354,6,18,19,7,58,13,8,14,69,9,44,
%T 354,10,29,18,11,19,33,12,58,3569,13,104,23,14,24,69,15,43,44,16,354,
%U 28,17,29,83,18,143,243,19,54,33,20,34,58,21,3569,169,22,104,38,23,39,308,24
%N A087708/5.
%o (Python)
%o from fractions import Fraction
%o def A087709(n):
%o x = Fraction(n)
%o while x.denominator > 1 or x<=n:
%o x = Fraction(5*x.__ceil__(),3)
%o return int(x)//5 # _Chai Wah Wu_, Sep 02 2023
%K nonn
%O 1,1
%A _N. J. A. Sloane_, Sep 29 2003