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.

A055160 Numbers n with the property that n=a-b where a has the digits of n in descending order and b has the digits of n in ascending order (perhaps with leading zeros), ordered by a.

Original entry on oeis.org

495, 6174, 549945, 631764, 63317664, 97508421, 864197532, 554999445, 6333176664, 9753086421, 9975084201, 86431976532, 633331766664, 975330866421, 997530864201, 999750842001, 555499994445, 8643319766532
Offset: 1

Views

Author

Henry Bottomley, Apr 27 2000

Keywords

Comments

This sequence appears to differ from A099009 at the positions of two terms in it: 554999445 and 555499994445. - Alexander R. Povolotsky, May 01 2012

Examples

			495 = 954-459.
		

References

  • Denis Borris, Ken Duisenberg's Puzzle of the Week, April 20, 2000

Crossrefs

Formula

a(n) = A055161(n) - A055162(n).