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.

A048321 Reading a(n) expansion from left to right, run lengths strictly decrease.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 22, 33, 44, 55, 66, 77, 88, 99, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 440, 441, 442, 443, 444, 445, 446, 447, 448
Offset: 1

Views

Author

Patrick De Geest, Feb 15 1999

Keywords

Crossrefs

Programs

  • Haskell
    import Data.List (group)
    a048321 n = a048321_list !! (n-1)
    a048321_list = filter f [0..] where
       f x = all (< 0) $ zipWith (-) (tail zs) zs
             where zs =  map length $ group $ show x
    -- Reinhard Zumkeller, May 01 2015

A048307 Numbers whose decimal expansions, read from left to right, have run lengths that strictly increase.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 22, 33, 44, 55, 66, 77, 88, 99, 100, 111, 122, 133, 144, 155, 166, 177, 188, 199, 200, 211, 222, 233, 244, 255, 266, 277, 288, 299, 300, 311, 322, 333, 344, 355, 366, 377, 388, 399, 400, 411, 422, 433, 444, 455, 466, 477, 488
Offset: 0

Views

Author

Patrick De Geest, Feb 15 1999

Keywords

Crossrefs

Showing 1-2 of 2 results.