A060375 a(n) = (n+2)^(n+3) - n^(n+1).
8, 80, 1016, 15544, 278912, 5749176, 133937792, 3481019600, 99865782272, 3134941592320, 106893205379072, 3934237957322568, 155461102352433152, 6564470979327191336, 294992337083795013632, 14056516043712012100384
Offset: 0
Keywords
Examples
a(1) = |0^1 - 2^3| = 8, a(2) = |1^2 - 3^4| = 80.
Links
- Harry J. Smith, Table of n, a(n) for n = 0..100
Crossrefs
Cf. A007778 (n^(n+1)).
Programs
-
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 *)
-
PARI
{ for (n=0, 100, write("b060375.txt", n, " ", (n + 2)^(n + 3) - n^(n + 1)); ) } \\ Harry J. Smith, Jul 04 2009
Formula
Extensions
More terms from Larry Reeves (larryr(AT)acm.org), Apr 20 2001
Better description from Alexander Adamchuk, Nov 18 2006
Comments