0,3

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

Michael Gilleland, Some Self-Similar Integer Sequences

Robert Walker, Self Similar Sloth Canon Number Sequences

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

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

Cf. A038573, A004185.

Sequence in context: A053985 A091564 A191379 * A212713 A072014 A213526

Adjacent sequences: A038571 A038572 A038573 * A038575 A038576 A038577

nonn,base,easy

N. J. A. Sloane

More terms from Erich Friedman.

approved