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!)
A193581 Sort-and-subtract: a(n) = n - A004185(n). 6
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 9, 0, 0, 0, 0, 0, 0, 0, 0, 27, 18, 9, 0, 0, 0, 0, 0, 0, 0, 36, 27, 18, 9, 0, 0, 0, 0, 0, 0, 45, 36, 27, 18, 9, 0, 0, 0, 0, 0, 54, 45, 36, 27, 18, 9, 0, 0, 0, 0, 63, 54, 45, 36, 27, 18, 9, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,11
COMMENTS
a(A009994(n) = 0, for n > 9: a(A009995(n) > 0.
LINKS
MATHEMATICA
ss[n_]:=n-FromDigits[Sort[Select[IntegerDigits[n], #>0&]]]; Array[ss, 80, 0] (* Harvey P. Dale, Aug 13 2013 *)
PROG
(Haskell)
a193581 n = n - a004185 n
a193581_list = map a193581 [0..]
CROSSREFS
Sequence in context: A085276 A226121 A337127 * A270034 A228635 A229660
KEYWORD
nonn,base,look
AUTHOR
Reinhard Zumkeller, Aug 10 2011
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 April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)