login

Revision History for A377824

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

Showing entries 1-10 | older changes
Sum of the positions of minimum parts in all compositions of n.
(history; published version)
#20 by OEIS Server at Thu Nov 14 08:20:41 EST 2024
LINKS

Alois P. Heinz, <a href="/A377824/b377824_1.txt">Table of n, a(n) for n = 0..1000</a>

#19 by Michael De Vlieger at Thu Nov 14 08:20:41 EST 2024
STATUS

reviewed

approved

Discussion
Thu Nov 14
08:20
OEIS Server: Installed first b-file as b377824.txt.
#18 by Joerg Arndt at Thu Nov 14 02:07:53 EST 2024
STATUS

proposed

reviewed

#17 by Alois P. Heinz at Tue Nov 12 16:13:12 EST 2024
STATUS

editing

proposed

Discussion
Tue Nov 12
16:30
John Tyler Rascoe: Alois, thank you for the b-file.
#16 by Alois P. Heinz at Tue Nov 12 16:11:46 EST 2024
FORMULA

G.f.: A(x) = d/dy A(x,y)|_{y = 1, }, where A(x,y) = Sum_{m>0} (Sum_{i>0} (x^m * y^i * (x^(m+1)/(1-x))^(i-1) * (Sum_{j>=0} (Product_{u=1..j} (x^(m+1)/(1-x) + x^m * y^(u+i)) ) ) ) ).

STATUS

proposed

editing

#15 by Alois P. Heinz at Tue Nov 12 15:57:28 EST 2024
STATUS

editing

proposed

#14 by Alois P. Heinz at Tue Nov 12 15:56:21 EST 2024
MAPLE

b:= proc(n, i, p) option remember; `if`(i<1, 0, `if`(irem(n, i)=0,

`if`(irem(n, i)=0, (j-> (p+j)!/j!*(p+j)*(p+j+1)/2*j/(p+j))(n/i), 0)+

add(b(n-i*j, i-1, p+j)/j!, j=0..(n-1)/i))

STATUS

proposed

editing

Discussion
Tue Nov 12
15:56
Alois P. Heinz: ... shorter ...
#13 by Alois P. Heinz at Tue Nov 12 15:47:45 EST 2024
STATUS

editing

proposed

#12 by Alois P. Heinz at Tue Nov 12 15:46:59 EST 2024
MAPLE

b:= proc(n, i, p) option remember; `if`(i<1, 0, `if`(irem(n, i)=0,

(j-> (p+j)!/j!*(p+j)*(p+j+1)/2*j/(p+j))(n/i), 0)+

add(b(n-i*j, i-1, p+j)/j!, j=0..(n-1)/i))

end:

a:= n-> b(n$2, 0):

seq(a(n), n=0..31); # Alois P. Heinz, Nov 12 2024

Discussion
Tue Nov 12
15:47
Alois P. Heinz: this is a program ...
#11 by Alois P. Heinz at Tue Nov 12 15:46:00 EST 2024
EXAMPLE

The composition of 7, (1,2,1,1,2) has minimum parts at positions 1, 3, and 4; so it contributes 8 to a(7) = 435.

MAPLE

The composition of 7, (1, 2, 1, 1, 2) has minimum parts at positions 1, 3, and 4; so it contributes 8 to a(7) = 435.

STATUS

proposed

editing

Discussion
Tue Nov 12
15:46
Alois P. Heinz: this was not a program ... moved to example ...