I think its called Fibonacci number
Fibonacci number - Wikipedia, the free encyclopedia
Hi Frak,
the Fibonacci sequence of numbers is generated in a different way.
The next number in that sequence is found by adding the two numbers before it.
Written as a formula, it is
or
or
and so on.
For your sequence, you could formulate it as something like
if n-1 is non-negative,
for