Only one line in C++!!!!!!

you can visit this link:
https://en.wikipedia.org/wiki/Catalan_numberHere you find ,
c(0)=1;
c(n+1)=2(2n+1)/(n+2) c(n).its the property of catalan number.
you can visit this link:
https://en.wikipedia.org/wiki/Catalan_number
Here you find ,
c(0)=1;
c(n+1)=2(2n+1)/(n+2) c(n).
its the property of catalan number.