Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A004186
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A004186 Arrange digits of n in decreasing order. +0
3
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 21, 31, 41, 51, 61, 71, 81, 91, 20, 21, 22, 32, 42, 52, 62, 72, 82, 92, 30, 31, 32, 33, 43, 53, 63, 73, 83, 93, 40, 41, 42, 43, 44, 54, 64, 74, 84, 94, 50, 51, 52, 53, 54, 55, 65, 75, 85, 95, 60, 61, 62, 63, 64, 65, 66, 76, 86, 96, 70, 71, 72 (list; graph; listen)
OFFSET

0,3

COMMENT

a(A009996(n)) = A009996(n). - Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Oct 31 2007

LINKS

R. Zumkeller, Table of n, a(n) for n = 0..10000

PROGRAM

Contribution from Michael Porter (michael_b_porter(AT)yahoo.com), Nov 11 2009: (Start)

(PARI) digits(n) = if(n<10, [n], concat(digits(floor(n/10)), n%10))

reconstruct(m) = {local(r); r=0; for(i=1, matsize(m)[2], r=r*10+m[i]); r}

A004186(n) = reconstruct(vecsort(digits(n), , 4)) (End)

CROSSREFS

Cf. A064222.

Sequence in context: A130575 A068637 A064222 this_sequence A034704 A023792 A032946

Adjacent sequences: A004183 A004184 A004185 this_sequence A004187 A004188 A004189

KEYWORD

nonn,base,new

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

EXTENSIONS

More terms from Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Oct 31 2007

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research