%I #1 Sep 21 2005 03:00:00
%S 2,12,1112,3112,132112,311322,232122,421311,14123113,41141223,
%T 24312213,32142321,23322114,32232114,23322114,32232114,23322114,
%U 32232114
%N Say what you see in previous term, same as A063850, but starting with 2.
%C Eventually periodic, eventually identical (to a shift of) A063850.
%o (Perl) #!/usr/bin/perl -l use strict; use warnings; die "Usage: $0 <number> " unless @ARGV==1; $_=shift; { print; my (%cnt, %saw); $cnt{$_}++ for /./g; s/./ $saw{$&}++ ? '' : $cnt{$&} . $& /ge; <>, redo; } __END__
%Y Cf. A005150, A005151, A063850, A112512-A112516.
%K base,easy,nonn
%O 1,1
%A Michele Dondi (blazar(AT)lcm.mi.infn.it), Sep 09 2005
|