8 lines
72 B
Text
8 lines
72 B
Text
fib(n)={
|
|
if(n<2,
|
|
n
|
|
,
|
|
my(s=self());
|
|
s(n-2)+s(n-1)
|
|
)
|
|
};
|