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.

A193637 a(n) = a(n-1)^2 - n^(n+1).

Original entry on oeis.org

0, -1, -7, -32, 0, -15625, 243860689, 59468035633789920, 3536447262141707692104062559388672, 12506459237909580203511583184455022770672120296396568887010875139183
Offset: 0

Views

Author

Arkadiusz Wesolowski, Aug 01 2011

Keywords

Comments

Example of a recursive sequence which produces a table containing two zeros.

Examples

			a(2) = -7 because a(1) = -1 and (-1)^2 - 2^(2+1) = -7.
		

Crossrefs

Programs

  • Mathematica
    RecurrenceTable[{a[n] == a[n - 1]^2 - n^(n + 1), a[0] == 0}, a, {n, 10}]
  • PARI
    a=0; for(n=0, 10, print1(a=a^2-n^(n+1), ", "));

Formula

a(0) = 0, a(n) = a(n-1)^2 - n^(n+1).