Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Revision History for A181842

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
Triangle read by rows: T(n,k) = Sum_{c in partition(n,n-k+1)} lcm(c)
(history; published version)
#8 by Bruno Berselli at Fri Jul 26 02:55:37 EDT 2013
STATUS

proposed

approved

#7 by Jean-François Alcover at Fri Jul 26 02:51:42 EDT 2013
STATUS

editing

proposed

#6 by Jean-François Alcover at Fri Jul 26 02:51:35 EDT 2013
MATHEMATICA

t[n_, k_] := LCM @@@ IntegerPartitions[n, {n - k + 1}] // Total; Table[t[n, k], {n, 1, 10}, {k, 1, n}] // Flatten (* Jean-François Alcover, Jul 26 2013 *)

STATUS

approved

editing

#5 by Russ Cox at Fri Mar 30 17:27:12 EDT 2012
AUTHOR

_Peter Luschny (peter(AT)luschny.de), _, Dec 07 2010

Discussion
Fri Mar 30
17:27
OEIS Server: https://oeis.org/edit/global/141
#4 by R. J. Mathar at Fri Dec 10 19:13:26 EST 2010
STATUS

proposed

approved

#3 by Peter Luschny at Wed Dec 08 23:43:18 EST 2010
COMMENTS

In A181842 through A181854 the following terminology is used.

Let n, k be positive integers.

* Partition: A (n,k)-partition is the set of all k-sets of

positive integers whose elements sum to n.

- The cardinality of a (n,k)-partition: A008284(n,k).

- Maple: (n,k) -> combstruct[count](Partition(n),size=k).

- The (6,2)-partition is {{1,5},{2,4},{3,3}}.

* Composition: A (n,k)-composition is the set of all k-tuples of positive integers whose elements sum to n.

- The cardinality of a (n,k)-composition: A007318(n-1,k-1).

- Maple: (n,k) -> combstruct[count](Composition(n),size=k).

- The (6,2)-composition is {<5,1>,<4,2>,<3,3>,<2,4>,<1,5>}.

* Combination: A (n,k)-combination is the set of all k-subsets

of {1,2,..,n}.

- The cardinality of a (n,k)-combination: A007318(n,k).

- Maple: (n,k) -> combstruct[count](Combination(n),size=k).

- The (4,2)-combination is {{1,2},{1,3},{1,4},{2,3},{2,4},{3,4}}.

#2 by Peter Luschny at Tue Dec 07 11:47:46 EST 2010
NAME

allocated for Peter LuschnyTriangle read by rows: T(n,k) = Sum_{c in partition(n,n-k+1)} lcm(c)

DATA

1, 1, 2, 1, 2, 3, 1, 2, 5, 4, 1, 2, 5, 10, 5, 1, 2, 5, 12, 12, 6, 1, 2, 5, 12, 18, 28, 7, 1, 2, 5, 12, 20, 38, 32, 8, 1, 2, 5, 12, 20, 44, 57, 48, 9, 1, 2, 5, 12, 20, 46, 67, 100, 55, 10

OFFSET

1,3

EXAMPLE

[1] 1

[2] 1 2

[3] 1 2 3

[4] 1 2 5 4

[5] 1 2 5 10 5

[6] 1 2 5 12 12 6

[7] 1 2 5 12 18 28 7

MAPLE

with(combstruct):

a181842_row := proc(n) local k, L, l, R, part;

R := NULL;

for k from 1 to n do

L := 0;

part := iterstructs(Partition(n), size=n-k+1):

while not finished(part) do

l := nextstruct(part);

L := L + ilcm(op(l));

od;

R := R, L;

od;

R end:

CROSSREFS
KEYWORD

allocated

nonn,tabl

AUTHOR

Peter Luschny (peter(AT)luschny.de), Dec 07 2010

STATUS

approved

proposed

Discussion
Tue Dec 07
18:05
N. J. A. Sloane: Please add a comment giving the definition of partition(n,k).
#1 by Peter Luschny at Sun Nov 14 16:20:03 EST 2010
NAME

allocated for Peter Luschny

KEYWORD

allocated

STATUS

approved