|
|
A226061
|
|
Partial sums of A219661.
|
|
13
|
|
|
0, 1, 3, 8, 27, 110, 538, 3149, 21622, 172348, 1549896, 15401144, 168011252, 2003304293, 25928878272, 361788001015, 5411160126367, 86353882249911, 1464841397585335, 26323224850512719, 499551889319197565
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
a(n) tells the position of (n!)-1 in A219666.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = a(n-1) + A219661(n-1) with a(1) = 0.
|
|
MATHEMATICA
|
Accumulate@ Table[Length@ NestWhileList[# - Total@ IntegerDigits[#,
MixedRadix[Reverse@ Range[2, 120]]] &, (n + 1)! - 1, # > n! - 1 &] - 1, {n, 0, 8}] (* Michael De Vlieger, Jun 27 2016, Version 10.2 *)
|
|
PROG
|
|
|
CROSSREFS
|
Analogous sequence for binary system: A218600.
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|