OFFSET
0,3
COMMENTS
Indices of record values in A034968.
Records for sum of digits when numbers are written in factorial base.
Numbers, n, whose factorial base representation digitally dominates every number less than or equal to n; we say n digitally dominates m if each digit of n in its factorial base representation is greater than or equal to the corresponding digit of m in its factorial base representation. - Joanne Beckford, Sep 01 2017
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..11324 (corresponding to rows 1 <= n <= 150 of A051683, see Formula)
FORMULA
a(n) = A051683(n+1) - 1.
MATHEMATICA
With[{b = MixedRadix[Reverse@ Range[2, 12]]}, Function[s, {0}~Join~Map[FirstPosition[s, #][[1]] &, Union@ FoldList[Max, s]]]@ Array[Total@ IntegerDigits[#, b] &, 10^5]] (* or *)
Prepend[-1 + Rest@ Flatten[Table[n!*k, {n, 9}, {k, n}]], 0] (* Michael De Vlieger, Sep 03 2017, after Jean-François Alcover at A051683 *)
PROG
(PARI) k=0; m=1; s=0; vector(45, n, s+=m!; if(k++==m, k=0; m++); s)
CROSSREFS
KEYWORD
nonn
AUTHOR
Franklin T. Adams-Watters, Nov 28 2011
STATUS
approved