0,2,8,26,80,242,728,2186,6560,19682....how can i write these series with recursion?
if we start k=0 and then return the function 3k+2 we can get that but I don't know how to turn this into code,can you help me about that?