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.

A164996 (Length of preperiodic part) + (length of cycle) of trajectory of n under iteration of the base-3 Kaprekar map in A164993.

This page as a plain text file.
%I A164996 #6 Jun 02 2025 01:54:32
%S A164996 1,2,2,3,2,3,3,3,2,3,3,4,3,2,3,4,3,3,4,4,4,4,3,3,4,3,2,3,3,4,3,3,2,4,
%T A164996 3,4,3,3,3,3,2,3,3,3,3,4,3,4,3,3,3,4,2,3,3,4,4,4,3,4,4,4,3,4,3,4,3,3,
%U A164996 3,4,3,3,4,4,3,4,3,3,3,3,2,3,3,2,3,3,2,2,2,3,3,3,2,3,3,4,2,4,2,2,2,3,2,4,2
%N A164996 (Length of preperiodic part) + (length of cycle) of trajectory of n under iteration of the base-3 Kaprekar map in A164993.
%H A164996 Joseph Myers, <a href="/A164996/b164996.txt">Table of n, a(n) for n=0..2187</a>
%H A164996 <a href="/index/K#Kaprekar_map">Index entries for the Kaprekar map</a>
%Y A164996 Cf. A164993, A164995.
%Y A164996 In other bases: A164886 (base 2), A165015 (base 4), A165035 (base 5), A165054 (base 6), A165074 (base 7), A165093 (base 8), A165113 (base 9), A151963 (base 10).
%K A164996 base,nonn
%O A164996 0,2
%A A164996 _Joseph Myers_, Sep 04 2009