login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A155499
a(n) = n + (n+1)^(n+2).
3
1, 9, 83, 1027, 15629, 279941, 5764807, 134217735, 3486784409, 100000000009, 3138428376731, 106993205379083, 3937376385699301, 155568095557812237, 6568408355712890639, 295147905179352825871
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
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
Sequence in context: A015579 A162759 A147960 * A321294 A242596 A180807
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