OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Look and Say Sequence.
EXAMPLE
a(26)=2000 because under the Look and Say operator, 2000 is described as one two three zeros or: 1230, which is smaller than 2000.
PROG
(Haskell)
a121993 n = a121993_list !! (n-1)
a121993_list = filter (\x -> a045918 x < x) [0..]
-- Reinhard Zumkeller, Jan 25 2014
(Python)
from itertools import groupby
def ok(n): return n > int(''.join(str(len(list(g)))+k for k, g in groupby(str(n))))
print([k for k in range(3312) if ok(k)]) # Michael S. Branicky, May 26 2023
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Sergio Pimentel, Sep 11 2006
STATUS
approved