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.

A234252 a(n) = ((n-1)^(n+1) + (-1)^n*(n+1)^(n-1))/(n^2).

Original entry on oeis.org

-1, 1, 0, 23, 112, 2637, 28928, 705259, 12021504, 337390073, 7752749056, 252186614847, 7261683740672, 271082082053317, 9359536638984192, 396049017137512403, 15920162462882529280, 754792662169555947633, 34587513064809080815616, 1818644980834260579498343
Offset: 1

Views

Author

Alexander Adamchuk, Dec 22 2013

Keywords

Comments

a(2n) = A233446(n) = ((2n-1)^(2n+1) + (2n+1)^(2n-1))/(2n)^2 = A154682(n)/(2n)^2 for n > 0.

Crossrefs

Programs

  • Mathematica
    Table[((m-1)^(m+1)+(-1)^m*(m+1)^(m-1))/(m^2),{m,1,20}]
  • PARI
    a(n) = ((n-1)^(n+1) + (-1)^n*(n+1)^(n-1))/n^2; \\ Michel Marcus, Jun 06 2021

Formula

a(n) = ((n-1)^(n+1) + (-1)^n*(n+1)^(n-1))/(n^2).