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!)
A048321 Reading a(n) expansion from left to right, run lengths strictly decrease. 2
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
PROG
(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
CROSSREFS
Sequence in context: A030285 A283870 A175688 * A071267 A295010 A257054
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Feb 15 1999
STATUS
approved

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 23 05:20 EDT 2024. Contains 371906 sequences. (Running on oeis4.)