0,13

Seiichi Manyama, Table of n, a(n) for n = 0..10000

a(n) = A004186(n) - n. - Seiichi Manyama, Sep 25 2018

FromDigits[Sort[IntegerDigits[n], Greater]] - n (Rob Pratt)

Table[Max[FromDigits/@ Permutations[IntegerDigits[n]]]-n, {n, 150}]

Cf. A004186, A151949, A193581.

Sequence in context: A044849 A282149 A114612 * A178734 A114386 A178895

Adjacent sequences: A108779 A108780 A108781 * A108783 A108784 A108785

nonn,base,look

Zak Seidov, Jun 29 2005

a(0)=0 prepended by Seiichi Manyama, Sep 25 2018

approved