OFFSET
0,2
COMMENTS
All the terms are evidently odd. If n is even, a(n) is (n+1) mod 8; if n is odd, a(n) is n mod 8.
Thus the sequence of remainders by dividing a(n) by 8 is given by 1, 1, 3, 3, 5, 5, 7, 7, 1, 1...
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
EXAMPLE
If n=2, a(2)=2+3^4=83.
MATHEMATICA
Table[n +(n+1)^(n+2), {n, 20}] (* or *) #[[1]]+#[[2]]^#[[3]]&/@ Partition[ Range[20], 3, 1] (* Harvey P. Dale, Mar 14 2012 *)
PROG
(PARI) a(n) = n+(n+1)^(n+2); \\ Michel Marcus, Feb 20 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Avik Roy (avik_3.1416(AT)yahoo.co.in), Jan 23 2009
EXTENSIONS
Added the first term 1 by Vincenzo Librandi, Mar 15 2012
STATUS
approved