login
A112515
Say what you see in previous term, same as A063850 but starting with 5.
3
5, 15, 1115, 3115, 132115, 31131215, 23411215, 2213143115, 2241231415, 3224311315, 3322143115, 3322311415, 3322311415, 3322311415, 3322311415, 3322311415, 3322311415
OFFSET
1,1
PROG
(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__
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Michele Dondi (blazar(AT)lcm.mi.infn.it), Sep 09 2005
STATUS
approved