cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A060375 a(n) = (n+2)^(n+3) - n^(n+1).

Original entry on oeis.org

8, 80, 1016, 15544, 278912, 5749176, 133937792, 3481019600, 99865782272, 3134941592320, 106893205379072, 3934237957322568, 155461102352433152, 6564470979327191336, 294992337083795013632, 14056516043712012100384
Offset: 0

Views

Author

Jason Earls, Apr 02 2001

Keywords

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

Examples

			a(1) = |0^1 - 2^3| = 8, a(2) = |1^2 - 3^4| = 80.
		

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

a(n) = A007778(n+2) - A007778(n). - Alexander Adamchuk, Nov 18 2006

Extensions

More terms from Larry Reeves (larryr(AT)acm.org), Apr 20 2001
Better description from Alexander Adamchuk, Nov 18 2006