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.

A288780 Zero together with the row sums of A288778.

Original entry on oeis.org

0, 0, 2, 9, 36, 165, 918, 6111, 47304, 416097, 4091130, 44417043, 527456556, 6798432069, 94499679582, 1408924024695, 22425642181008, 379514672913321, 6804212771165634, 128827325000617947, 2568509718703606260, 53787877376348226573, 1180349932648067726886
Offset: 0

Views

Author

Omar E. Pol, Jun 15 2017

Keywords

Comments

For n >= 2, a(n) is the number of numbers in base n with consecutive digits after reordering.
a(10) = 4091130 is also the number of positive terms in the finite sequence A215014, hence a(10) + 1 = 4091131 is the total number of terms in that sequence.

Crossrefs

Programs

  • Maple
    a:= proc(n) option remember; `if`(n<3, n*(n-1),
          n*(a(n-1)*n/(n-1)-a(n-2)*(n-1)/(n-2)))
        end:
    seq(a(n), n=0..25);  # Alois P. Heinz, Jun 16 2017
  • Mathematica
    {0}~Join~Map[Total, Table[(n - k + 1) k! - (k - 1)!, {n, 22}, {k, n}]] (* Michael De Vlieger, Jun 21 2017 *)

Extensions

More terms from Alois P. Heinz, Jun 16 2017