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

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A165071 a(n) = image of n under the base-7 Kaprekar map n -> (n with digits sorted into descending order) - (n with digits sorted into ascending order) 30
0, 0, 0, 0, 0, 0, 0, 6, 0, 6, 12, 18, 24, 30, 12, 6, 0, 6, 12, 18, 24, 18, 12, 6, 0, 6, 12, 18, 24, 18, 12, 6, 0, 6, 12, 30, 24, 18, 12, 6, 0, 6, 36, 30, 24, 18, 12, 6, 0, 48, 48, 96, 144, 192, 240, 288, 48, 0, 48, 96, 144, 192, 240, 96, 48, 48, 96, 144, 192, 240, 144, 96, 96, 96 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,8

LINKS

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

Index entries for the Kaprekar map

EXAMPLE

For n = 11, 11_10 = 14_7. So, a(11) = 41_7 - 14_7 = 29 - 11 = 18. - Indranil Ghosh, Feb 02 2017

CROSSREFS

Cf. A165072.

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

Sequence in context: A198752 A141462 A055955 * A223033 A237444 A222918

Adjacent sequences:  A165068 A165069 A165070 * A165072 A165073 A165074

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 December 15 17:42 EST 2019. Contains 330000 sequences. (Running on oeis4.)