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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A124757 Zero-based weighted sum of compositions in standard order. 1
0, 0, 0, 1, 0, 1, 2, 3, 0, 1, 2, 3, 3, 4, 5, 6, 0, 1, 2, 3, 3, 4, 5, 6, 4, 5, 6, 7, 7, 8, 9, 10, 0, 1, 2, 3, 3, 4, 5, 6, 4, 5, 6, 7, 7, 8, 9, 10, 5, 6, 7, 8, 8, 9, 10, 11, 9, 10, 11, 12, 12, 13, 14, 15, 0, 1, 2, 3, 3, 4, 5, 6, 4, 5, 6, 7, 7, 8, 9, 10, 5, 6, 7, 8, 8, 9, 10, 11, 9, 10, 11, 12, 12, 13, 14 (list; graph; refs; listen; history; internal format)
OFFSET

0,7

COMMENTS

The standard order of compositions is given by A066099.

FORMULA

For a composition b(1),...,b(k), a(n) = Sum_{i=1}^k (i-1) b(i).

For n>0, a(n) = A029931(n) - A070939(n).

EXAMPLE

Composition number 11 is 2,1,1; 0*2+1*1+2*1 = 3, so a(11) = 3.

The table starts:

0

0

0 1

0 1 2 3

CROSSREFS

Cf. A066099, A070939, A029931, A011782 (row lengths), A001788 (row sums).

Sequence in context: A010873 A049804 A132387 * A049263 A014588 A053645

Adjacent sequences:  A124754 A124755 A124756 * A124758 A124759 A124760

KEYWORD

easy,nonn,tabf

AUTHOR

Franklin T. Adams-Watters (FrankTAW(AT)Netscape.net), Nov 06 2006

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 18 00:14 EST 2012. Contains 206085 sequences.