login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A055157 n has distinct digits and 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). 3
495, 6174, 97508421, 864197532, 9753086421 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
Dennis Borris, Identity by Ordered Subtraction, Ken Duisenberg's Puzzle of the Week, April 20, 2000.
FORMULA
a(n) = A055158(n) - A055159(n).
EXAMPLE
495 = 954-459.
CROSSREFS
Sequence in context: A151957 A099009 A055160 * A027808 A104478 A133352
KEYWORD
nonn,base,fini,full
AUTHOR
Henry Bottomley, Apr 27 2000
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)