login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A108244 Triangle read by rows: row n gives list of all compositions of n in lexicographical order. 2
1, 1, 1, 2, 1, 1, 1, 1, 2, 2, 1, 3, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 1, 1, 3, 2, 2, 3, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 2, 2, 2, 1, 2, 1, 3, 1, 2, 2, 1, 3, 1, 1, 1, 4, 2, 3, 3, 2, 4, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1 (list; graph; refs; listen; history; internal format)
OFFSET

1,4

COMMENTS

An example of a sequence which contains all finite sequences of nonnegative integers as subsequences.

LINKS

Eric Weisstein's World of Mathematics, Combinatorial composition

EXAMPLE

The first 5 rows are:

{1}

{1, 1}, {2}

{1, 1, 1}, {1, 2}, {2, 1}, {3}

{1, 1, 1, 1}, {1, 1, 2}, {1, 2, 1}, {2, 1, 1}, {1, 3}, {2, 2}, {3, 1}, {4}

{1, 1, 1, 1, 1}, {1, 1, 1, 2}, {1, 1, 2, 1}, {1, 2, 1, 1}, {2, 1, 1, 1}, {1, 1, 3}, {1, 2, 2}, {2, 1, 2}, {1, 3, 1}, {2, 2, 1}, {3, 1, 1}, {1, 4}, {2, 3}, {3, 2}, {4, 1}, {5}

MATHEMATICA

Flatten[ Table[ Reverse[ # ] & /@ Reverse[ Sort[ Flatten[ Permutations[ # ] & /@ Partitions[ n], 1]]], {n, 6}]] (from Robert G. Wilson v (rgwv(AT)rgwv.com), Jun 22 2005)

CROSSREFS

Cf. A045623.

Sequence in context: A033182 A053797 A002635 * A124961 A008967 A094189

Adjacent sequences:  A108241 A108242 A108243 * A108245 A108246 A108247

KEYWORD

nonn,tabf

AUTHOR

Hugo van der Sanden (hv(AT)crypt.org), Jun 20, 2005

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Jun 22 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 19:06 EST 2012. Contains 205945 sequences.