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.

A062810 a(n) = Sum_{i=1..n} i^(n - i) + (n - i)^i.

Original entry on oeis.org

1, 3, 7, 17, 45, 131, 419, 1465, 5561, 22755, 99727, 465537, 2303829, 12037571, 66174411, 381560425, 2301307841, 14483421859, 94909491607, 646309392369, 4565559980989, 33401808977411, 252713264780595, 1974606909857945
Offset: 1

Views

Author

Olivier Gérard, Jun 23 2001

Keywords

Crossrefs

Programs

  • Mathematica
    Sum[i^(n - i) + (n - i)^i, {i, 1, n}]
  • PARI
    a(n) = sum(i=1, n, i^(n-i) + (n-i)^i); \\ Michel Marcus, Mar 24 2019

Formula

a(n) = 2 * A026898(n-1) - 1.
a(n) = 2 * A003101(n-1) + 1.