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”).

A060375
a(n) = (n+2)^(n+3) - n^(n+1).
1
8, 80, 1016, 15544, 278912, 5749176, 133937792, 3481019600, 99865782272, 3134941592320, 106893205379072, 3934237957322568, 155461102352433152, 6564470979327191336, 294992337083795013632, 14056516043712012100384
OFFSET
0,1
COMMENTS
a(n) is divisible by 8. 2^(3+4k) divides a(4k) and a(4k+2). 8k divides a(4k-1). 4(4k+2) divides a(4k+1). - Alexander Adamchuk, Nov 18 2006
LINKS
FORMULA
a(n) = A007778(n+2) - A007778(n). - Alexander Adamchuk, Nov 18 2006
EXAMPLE
a(1) = |0^1 - 2^3| = 8, a(2) = |1^2 - 3^4| = 80.
MATHEMATICA
Table[(-n^(n+1)+(n+2)^(n+3)), {n, 0, 18}] (* Alexander Adamchuk, Nov 18 2006 *)
#[[3]]^#[[4]]-#[[1]]^#[[2]]&/@Partition[Range[0, 20], 4, 1] (* Harvey P. Dale, Oct 07 2023 *)
PROG
(PARI) { for (n=0, 100, write("b060375.txt", n, " ", (n + 2)^(n + 3) - n^(n + 1)); ) } \\ Harry J. Smith, Jul 04 2009
CROSSREFS
Cf. A007778 (n^(n+1)).
Sequence in context: A051580 A228658 A234596 * A097815 A002718 A222825
KEYWORD
nonn
AUTHOR
Jason Earls, Apr 02 2001
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), Apr 20 2001
Better description from Alexander Adamchuk, Nov 18 2006
STATUS
approved