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.

A164995 Length of preperiodic part of trajectory of n under iteration of the base-3 Kaprekar map in A164993.

This page as a plain text file.
%I A164995 #6 Jun 02 2025 01:54:26
%S A164995 0,1,1,2,1,2,2,2,1,2,2,3,2,1,2,3,2,2,3,3,3,3,2,2,3,2,1,2,1,2,1,2,0,2,
%T A164995 1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,0,2,1,2,2,2,1,2,2,2,1,2,1,2,1,2,
%U A164995 1,2,1,2,2,2,1,2,1,2,1,2,1,2,2,1,2,2,1,1,1,2,2,2,1,2,2,3,1,3,1,1,1,2,1,3,1
%N A164995 Length of preperiodic part of trajectory of n under iteration of the base-3 Kaprekar map in A164993.
%H A164995 Joseph Myers, <a href="/A164995/b164995.txt">Table of n, a(n) for n=0..2187</a>
%H A164995 <a href="/index/K#Kaprekar_map">Index entries for the Kaprekar map</a>
%Y A164995 Cf. A164993, A164996.
%Y A164995 In other bases: A164885 (base 2), A165014 (base 4), A165034 (base 5), A165053 (base 6), A165073 (base 7), A165092 (base 8), A165112 (base 9), A151962 (base 10).
%K A164995 base,nonn
%O A164995 0,4
%A A164995 _Joseph Myers_, Sep 04 2009