Pythonで書いてみた Show more
こんな感じですかね?funcにお好みの漸化式を入れる。
def fast_growing_hierarchy(alpha,n,func): v = n+1 for _ in range(alpha): v = func(v) return v
ボーカロイド好きが集うMastodonインスタンス、通称「ボカロ丼(ボカロドン)」です。 ** This server is for "Vocaloid" lovers. If you are not, please select other server. **