A219665 One more than the partial sums of A219661.
1, 2, 4, 9, 28, 111, 539, 3150, 21623, 172349, 1549897, 15401145, 168011253, 2003304294, 25928878273, 361788001016, 5411160126368, 86353882249912, 1464841397585336, 26323224850512720, 499551889319197566
Offset: 1
Keywords
Crossrefs
Programs
-
Mathematica
Accumulate@ Table[Length@ NestWhileList[# - Total@ IntegerDigits[#, MixedRadix[Reverse@ Range[2, 120]]] &, (n + 1)! - 1, # > n! - 1 &] - 1, {n, 0, 8}] + 1 (* Michael De Vlieger, Jun 27 2016, Version 10.2 *)
-
Scheme
(define (A219665 n) (+ 1 (A226061 n)))
Extensions
Terms a(16) - a(21) computed from the new terms of A219661 by Antti Karttunen, Jun 27 2016
Comments