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.

A370671 a(n) = Sum_{i=2..n-1} i*n^(i-2).

Original entry on oeis.org

0, 0, 0, 2, 14, 117, 1244, 16340, 256794, 4708235, 98765432, 2334368214, 61405650470, 1779714835745, 56358445438164, 1936265501684072, 71737338064426034, 2851241711464855575, 121019325106640638448, 5463472083532379956970, 261417839335180055401662, 13215375398730198560266829
Offset: 0

Views

Author

Chai Wah Wu, Feb 25 2024

Keywords

Comments

Digits 2..(n-1) in strict descending order (n-1)..2 interpreted in base n.
Upper bound of A370371(n) when n is odd and n-1 has an even 2-adic valuation.

Crossrefs

Programs

  • Python
    def A370671(n): return (n-2)*(n**(n-1)-1)//(n-1)**2 if n > 1 else 0

Formula

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