Lucas
Returns the desired Lucas number. Similar to the Fibonacci numbers, each Lucas number is defined to be the sum of its two immediately previous terms. The first two Lucas numbers are , and for greater than 2, .
Syntax
lucas(Integer)
Description
Given an integer , returns .