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.

A258384 a(n) = n^(n-1) * (n+1)^n.

Original entry on oeis.org

2, 18, 576, 40000, 4860000, 914838624, 246727835648, 90275517038592, 43046721000000000, 25937424601000000000, 19271723592631858495488, 17310672267004940730236928, 18492034350245752657180811264, 23170856660867919150000000000000
Offset: 1

Views

Author

Daniel Suteu, May 28 2015

Keywords

Examples

			a(3) = (3+1)^3 * 3^(3-1) = 4^3 * 3^2 = 64 * 9 = 576.
		

Programs

  • Mathematica
    Table[n^(n - 1)*(n + 1)^n, {n, 16}] (* Michael De Vlieger, May 28 2015 *)
  • PARI
    a(n)=n^(n-1)*(n+1)^n \\ Charles R Greathouse IV, May 28 2015
  • Sidef
    func a(n) {
        (n+1)**n * n**(n-1);
    };
    1.to(Math.inf).each { |n|
        say a(n);
    };
    

Formula

a(n) = n^(n-1) * (n+1)^n.
a(n) ~ e * n^(2n-1). - Charles R Greathouse IV, May 28 2015

Extensions

More terms from Michael De Vlieger, May 28 2015