OFFSET
1,1
LINKS
EXAMPLE
a(10)=9 because we have the 9-step chain 10 -> 1011 -> 1031 -> 102113 -> 103112113 -> 10411223 -> 1031221314 -> 1041222314 -> 1031321324 -> 1031223314, the latter being autobiographical, hence invariant. Also, a(40)=9 since we have the digit count iteration 40 -> 1014 -> 102114 -> 10311214 -> 1041121314 -> 1051121324 -> 104122131415 -> 105122132415 -> 104132131425 -> 104122232415 <-> 103142132415, ending in a 2-cycle loop.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Lekraj Beedassy, Mar 25 2005
EXTENSIONS
Corrected and extended by Sean A. Irvine, Feb 08 2010
STATUS
approved