Posted by haifeng on 2011-08-13 15:33:42 last update 2011-08-13 15:33:42 | Edit | Answers (1)
1
Posted by haifeng on 2011-08-13 15:34:49
function Lucas(n) if n eq 1 then return 1; elif n eq 2 then return 3; else return Lucas(n-1)+Lucas(n-2); end if; end function;