login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A177360 a(n) contains the nonzero frequencies f(d) of digits d=0 .. 9 in all terms up to a(n-1) in concatenated form sorted with respect to d: f(0)//0//f(1)//1//...//f(9)//9. Initial term a(1)=1. 10
1, 11, 31, 4113, 612314, 8112332416, 1113253342618, 151528344153628, 1817210364454648, 102118211310455661768, 3028110212311475962788, 50331142143124851064711819, 704111621731641051165713829, 905011821931841251468714839, 1105712022132141451569718869 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

J. Mulder, Table of n, a(n) for n = 1..50000

EXAMPLE

One; one one; three ones; four ones, one three; six ones, two threes, one four; eight ones, one two, three threes, two fours, one six; eleven ones, three twos, five threes, three fours, two sixes, one eight; etc.

MATHEMATICA

lst = {Join[{e, 1}, Array[e &, 8]]}; Do[With[{k = Last@lst}, AppendTo[lst, ((k /. e -> 0) + With[{l = StringJoin @@ ToString /@ k}, Table[If[k[[i + 1]] =!= e, 1, 0] + StringCount[l, ToString[i]], {i, 0, 9}]]) /. {0 -> e}]], {1000}] lst = Prepend[ StringJoin @@ MapIndexed[ If[ # =!= e, ToString@# <> ToString[ #2[[1]] - 1], ""] &, # ] & /@ lst, "1"]; [From Jasper Mulder (jasper.mulder(AT)planet.nl), Jun 04 2010]

CROSSREFS

Cf. A060857, A177359 - A177368

Sequence in context: A023306 A068839 A228530 * A060857 A045982 A059134

Adjacent sequences:  A177357 A177358 A177359 * A177361 A177362 A177363

KEYWORD

easy,nonn,base

AUTHOR

Paolo P. Lava and Giorgio Balzarotti, May 10 2010

EXTENSIONS

Terms corrected using values in b-file. - N. J. A. Sloane, Oct 05 2010

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 4 16:34 EDT 2020. Contains 336202 sequences. (Running on oeis4.)