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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A165051 a(n) = image of n under the base-6 Kaprekar map n -> (n with digits sorted into descending order) - (n with digits sorted into ascending order) 31
0, 0, 0, 0, 0, 0, 5, 0, 5, 10, 15, 20, 10, 5, 0, 5, 10, 15, 15, 10, 5, 0, 5, 10, 20, 15, 10, 5, 0, 5, 25, 20, 15, 10, 5, 0, 35, 35, 70, 105, 140, 175, 35, 0, 35, 70, 105, 140, 70, 35, 35, 70, 105, 140, 105, 70, 70, 70, 105, 140, 140, 105, 105, 105, 105, 140, 175, 140, 140, 140 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,7

LINKS

Indranil Ghosh, Table of n, a(n) for n = 0..46656 (terms 0..1296 from Joseph Myers)

Index entries for the Kaprekar map

EXAMPLE

For n = 10, 10_10 = 14_6. So, a(10) = 41_6 - 14_6 = 25 - 10 = 15. - Indranil Ghosh, Feb 02 2017

CROSSREFS

Cf. A165052.

In other bases: A164884 (base 2), A164993 (base 3), A165012 (base 4), A165032 (base 5), A165071 (base 7), A165090 (base 8), A165110 (base 9), A151949 (base 10).

Sequence in context: A256192 A154814 A055953 * A154855 A137562 A021668

Adjacent sequences:  A165048 A165049 A165050 * A165052 A165053 A165054

KEYWORD

base,nonn

AUTHOR

Joseph Myers, Sep 04 2009

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 23 07:03 EST 2019. Contains 320411 sequences. (Running on oeis4.)