A112513 Same as A063850, Say what you see in previous term, but starting with 3.
3, 13, 1113, 3113, 2321, 221311, 223113, 222321, 421311, 14123113, 41141223, 24312213, 32142321, 23322114, 32232114, 23322114, 32232114, 23322114, 32232114, 23322114
Offset: 1
Programs
-
Perl
#!/usr/bin/perl -l use strict; use warnings; die "Usage: $0
" unless @ARGV==1; $=shift; { print; my (%cnt, %saw); $cnt{$}++ for /./g; s/./ $saw{$&}++ ? '' : $cnt{$&} . $& /ge; <>, redo; } _END_
Comments