login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A112515 Say what you see in previous term, same as A063850 but starting with 5. 3

%I #1 Sep 21 2005 03:00:00

%S 5,15,1115,3115,132115,31131215,23411215,2213143115,2241231415,

%T 3224311315,3322143115,3322311415,3322311415,3322311415,3322311415,

%U 3322311415,3322311415

%N Say what you see in previous term, same as A063850 but starting with 5.

%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-A112515.

%K base,easy,nonn

%O 1,1

%A Michele Dondi (blazar(AT)lcm.mi.infn.it), Sep 09 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 00:45 EDT 2024. Contains 371696 sequences. (Running on oeis4.)