Files
centvrion/snippets/fibonacci.cent
2026-04-21 23:46:00 +02:00

10 lines
164 B
Plaintext

DEFINI fib(x) VT {
SI x EST NVLLVS TVNC {
REDI(NVLLVS)
} ALIVD SI x EST I TVNC {
REDI(I)
} ALIVD {
REDI(INVOCA fib(x-II) + INVOCA fib(x-I))
}
}