login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Consider the base-4 Kaprekar map n->K(n) defined in A165012. Sequence gives numbers belonging to cycles, including fixed points.
19

%I #4 Mar 30 2012 17:28:43

%S 0,30,126,138,201,570,765,2550,3369,3873,14565,41958,42966,54441,

%T 57333,62625,64641,171990,234405,254865,873129,954261,1004193,1036929,

%U 1044993,2788950,3489705,3755685,3833685,4083345,4165185,11140950,13978281

%N Consider the base-4 Kaprekar map n->K(n) defined in A165012. Sequence gives numbers belonging to cycles, including fixed points.

%C Initial terms in base 4: 0, 132, 1332, 2022, 3021, 20322, 23331, 213312, 310221, 330201.

%H Joseph Myers, <a href="/A165017/b165017.txt">Table of n, a(n) for n=1..7217</a>

%H <a href="/index/K#Kaprekar_map">Index entries for the Kaprekar map</a>

%Y Union of A165016 and A165019. Cf. A165012, A165018, A165021, A165023, A165030, A165026.

%Y In other bases: A163205 (base 2), A164998 (base 3), A165037 (base 5), A165056 (base 6), A165076 (base 7), A165095 (base 8), A165115 (base 9), A164716 (base 10).

%K base,nonn

%O 1,2

%A _Joseph Myers_, Sep 04 2009