cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A121993 Numbers k that yield a smaller number a(k) under the "Look and Say" function A045918.

Original entry on oeis.org

33, 44, 55, 66, 77, 88, 99, 111, 222, 333, 444, 555, 666, 777, 888, 999, 1111, 1222, 1333, 1444, 1555, 1666, 1777, 1888, 1999, 2000, 2111, 2222, 2233, 2244, 2255, 2266, 2277, 2288, 2299, 2333, 2444, 2555, 2666, 2777, 2888, 2999, 3000, 3111, 3222, 3300, 3311
Offset: 1

Views

Author

Sergio Pimentel, Sep 11 2006

Keywords

Examples

			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.
		

Crossrefs

Programs

  • 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

A121994 Smallest natural number that yields a sequence of n decreasing numbers under the "Look and Say" operator A045918.

Original entry on oeis.org

1, 33, 333, 333111, 33333333333333333333333333333333311111111111
Offset: 0

Views

Author

Sergio Pimentel, Sep 11 2006

Keywords

Comments

a(5) <= 33333333333333333333333333333333 '3's concatenated with 1111111111 '1's. - Tyler Busby, Feb 07 2023

Examples

			a(3)=333111 because under the Look and Say operator sequence A045918 it yields: 3331, 3311, 2321 which are all decreasing (3 in a row). The next term would be 12131211 which is greater than 2321.
		

Crossrefs

Extensions

a(4) from Sergio Pimentel, Mar 05 2008
a(4) corrected by Tyler Busby, Feb 07 2023
Showing 1-2 of 2 results.