cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A113585 Numbers formed by arranging the digits of n in increasing order concatenated with arranging the digits in decreasing order.

Original entry on oeis.org

11, 22, 33, 44, 55, 66, 77, 88, 99, 110, 1111, 1221, 1331, 1441, 1551, 1661, 1771, 1881, 1991, 220, 1221, 2222, 2332, 2442, 2552, 2662, 2772, 2882, 2992, 330, 1331, 2332, 3333, 3443, 3553, 3663, 3773, 3883, 3993, 440, 1441, 2442, 3443, 4444, 4554, 4664, 4774, 4884, 4994, 550, 1551
Offset: 1

Views

Author

Amarnath Murthy, Nov 07 2005

Keywords

Comments

a(n) is a palindrome if n is not == 0 (mod 10).

Examples

			a(10) = 0110 = 110.
a(12) = 1221.
a(1232) = 12233221
		

Crossrefs

Cf. A113586.

Programs

  • Mathematica
    iodo[n_]:=Module[{iod=Sort[IntegerDigits[n]]},FromDigits[Join[iod,Reverse[iod]]]]; Array[iodo,60] (* Harvey P. Dale, Aug 24 2022 *)

Extensions

More terms from Jessica Mabel (jem411(AT)psu.edu), Apr 25 2006