9 lines
161 B
Text
9 lines
161 B
Text
L := proc( n )
|
|
option remember;
|
|
if n <= 1 then
|
|
return 1;
|
|
else
|
|
return L(n - 1) + L(n - 2) + 1;
|
|
end if;
|
|
end proc:
|
|
[seq(L(i),i=1..25)];
|