login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A288780 Zero together with the row sums of A288778. 3
0, 0, 2, 9, 36, 165, 918, 6111, 47304, 416097, 4091130, 44417043, 527456556, 6798432069, 94499679582, 1408924024695, 22425642181008, 379514672913321, 6804212771165634, 128827325000617947, 2568509718703606260, 53787877376348226573, 1180349932648067726886 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
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.
LINKS
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 *)
CROSSREFS
Sequence in context: A150973 A150974 A248438 * A150975 A150976 A150977
KEYWORD
nonn
AUTHOR
Omar E. Pol, Jun 15 2017
EXTENSIONS
More terms from Alois P. Heinz, Jun 16 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 10:55 EDT 2024. Contains 371241 sequences. (Running on oeis4.)