reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
return int(x)//5 # Chai Wah Wu, Sep 02 2023
(Python)
from fractions import Fraction
def A087709(n):
x = Fraction(n)
while x.denominator > 1 or x<=n:
x = Fraction(5*x.__ceil__(), 3)
return int(x)//5 # Chai Wah Wu, Sep 02 2023
approved
editing
_N. J. A. Sloane (njas(AT)research.att.com), _, Sep 29 2003
nonn,new
nonn
N. J. A. Sloane (njas, (AT)research.att.com), Sep 29 2003
A087708/5.
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, 354, 10, 29, 18, 11, 19, 33, 12, 58, 3569, 13, 104, 23, 14, 24, 69, 15, 43, 44, 16, 354, 28, 17, 29, 83, 18, 143, 243, 19, 54, 33, 20, 34, 58, 21, 3569, 169, 22, 104, 38, 23, 39, 308, 24
1,1
nonn
njas, Sep 29 2003
approved