OFFSET
0,4
FORMULA
a(n) = denominator((-3+(-1)^n)*((1-sqrt(1+n+1/(1+n)))^n-(1+sqrt(1+n+1/(1+n)))^n)/(8*sqrt(1+n+1/(1+n)))). - Gerry Martens, May 31 2015
PROG
(PARI) a(n)=(n+1)^floor((n-1)/2)
(PARI) vector(30, n, n--; (n+1)^((n-1)\2)) \\ Michel Marcus, Jun 01 2015
(Magma) [(n+1)^((n-1) div 2): n in [0..30]]; // Vincenzo Librandi, May 31 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Dec 02 2008
STATUS
approved