STATUS
proposed
approved
proposed
approved
editing
proposed
reviewed
approved
proposed
reviewed
editing
proposed
(Python)
from fractions import Fraction
from functools import lru_cache
@lru_cache(maxsize=None)
def A087192(n): return int(Fraction(4*A087192(n-1), 3).__ceil__()) if n>1 else 1 # Chai Wah Wu, Sep 07 2023
approved
editing
(MAGMAMagma) [n eq 1 select 1 else Ceiling(Self(n-1)*4/3): n in [1..50]]; // Vincenzo Librandi, Aug 17 2017
reviewed
approved
proposed
reviewed