hello.
i need to write a program (function) which takes one argument (n)and returns the sum of an arithmetic such this:
(1+n^2)+(3+n^4)+(5+n^6)+.....((2n-1)+n^2n

oh and btw..it has to be a recursive function...and using of function libaries is not allowd. (such pow(),sqrt() etc...)

any idea?

10x