login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A038574 Write n in ternary, sort digits into increasing order. 0
0, 1, 2, 1, 4, 5, 2, 5, 8, 1, 4, 5, 4, 13, 14, 5, 14, 17, 2, 5, 8, 5, 14, 17, 8, 17, 26, 1, 4, 5, 4, 13, 14, 5, 14, 17, 4, 13, 14, 13, 40, 41, 14, 41, 44, 5, 14, 17, 14, 41, 44, 17, 44, 53, 2, 5, 8, 5, 14, 17, 8, 17, 26, 5, 14, 17, 14, 41, 44, 17, 44, 53, 8, 17, 26, 17, 44, 53, 26, 53, 80 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Table of n, a(n) for n=0..80.

Michael Gilleland, Some Self-Similar Integer Sequences

Robert Walker, Self Similar Sloth Canon Number Sequences

EXAMPLE

15 = 120 -> 012 = 5, so a(15)=5.

MATHEMATICA

Table[FromDigits[Sort[IntegerDigits[n, 3]], 3], {n, 0, 90}] (* Harvey P. Dale, Dec 08 2015 *)

CROSSREFS

Sequence in context: A053985 A091564 A191379 * A212713 A072014 A213526

Adjacent sequences:  A038571 A038572 A038573 * A038575 A038576 A038577

KEYWORD

nonn,base,easy

AUTHOR

N. J. A. Sloane.

EXTENSIONS

More terms from Erich Friedman.

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 25 16:14 EST 2018. Contains 299653 sequences. (Running on oeis4.)