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.

A370369 a(n) = n! + Sum_{k=1..n-1} (n-k)*k! = n! + A014145(n-1); for n >= 2, number of m such that any two consecutive digits of the base-n expansion of m differ by 1 after arranging the digits in decreasing order.

Table of values

n a(n)
1 1
2 3
3 10
4 37
5 166
6 919
7 6112
8 47305
9 416098
10 4091131
11 44417044
12 527456557
13 6798432070
14 94499679583
15 1408924024696
16 22425642181009
17 379514672913322
18 6804212771165635
19 128827325000617948
20 2568509718703606261
21 53787877376348226574
22 1180349932648067726887
23 27086018941198865627200

List of values

[1, 3, 10, 37, 166, 919, 6112, 47305, 416098, 4091131, 44417044, 527456557, 6798432070, 94499679583, 1408924024696, 22425642181009, 379514672913322, 6804212771165635, 128827325000617948, 2568509718703606261, 53787877376348226574, 1180349932648067726887, 27086018941198865627200]