Question: How to write this equation in maple?

How to write this equation in maple?

g(k-r-1);

conditions:=

1.r from 0 to k, 

2.g(0)=1;

3.g(n)=0, where n not equal to 0.

 

Please Wait...