[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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

Showing all changes.
Number of partitions p of n such that n - 2*(number of parts of p) is a part of p.
(history; published version)
#7 by Joerg Arndt at Mon Mar 10 09:36:58 EDT 2014
STATUS

proposed

approved

#6 by Giovanni Resta at Sun Mar 09 12:59:16 EDT 2014
STATUS

editing

proposed

#5 by Giovanni Resta at Sun Mar 09 12:58:53 EDT 2014
LINKS

Giovanni Resta, <a href="/A238629/b238629.txt">Table of n, a(n) for n = 1..1000</a>

MATHEMATICA

p[n_, k_] := p[n, k] = If[k == 1 || n == k, 1, If[k > n, 0, p[n - 1, k - 1] + p[n - k, k]]]; q[n_, k_, e_] := q[n, k, e] = If[n - e < k - 1 , 0, If[k == 1, If[n == e, 1, 0], p[n - e, k - 1]]]; a[n_] := a[n] = Sum[q[n, u, n - 2*u], {u, (n - 1)/2}]; Array[a, 100] (* Giovanni Resta, Mar 09 2014 *)

STATUS

approved

editing

#4 by N. J. A. Sloane at Sat Mar 08 22:52:10 EST 2014
STATUS

proposed

approved

#3 by Clark Kimberling at Sat Mar 08 15:51:13 EST 2014
STATUS

editing

proposed

#2 by Clark Kimberling at Sun Mar 02 11:54:28 EST 2014
NAME

allocated for Clark KimberlingNumber of partitions p of n such that n - 2*(number of parts of p) is a part of p.

DATA

0, 0, 0, 0, 1, 1, 4, 4, 9, 9, 18, 18, 31, 31, 51, 51, 79, 79, 119, 119, 173, 173, 248, 248, 347, 347, 480, 480, 654, 654, 883, 883, 1178, 1178, 1561, 1561, 2049, 2049, 2674, 2674, 3464, 3464, 4464, 4464, 5717, 5717, 7290, 7290, 9246, 9246, 11680, 11680

OFFSET

1,7

EXAMPLE

a(7) counts these partitions: 511, 43, 421, 331.

MATHEMATICA

Table[Count[IntegerPartitions[n], p_ /; MemberQ[p, n - 2*Length[p]]], {n, 50}]

CROSSREFS

Cf. A000027 = (number of partitions p of n such that n - (number of parts of p) is a part of p) = n-2 for n >=3.

KEYWORD

allocated

nonn,easy

AUTHOR

Clark Kimberling, Mar 02 2014

STATUS

approved

editing

#1 by Clark Kimberling at Sat Mar 01 17:45:42 EST 2014
NAME

allocated for Clark Kimberling

KEYWORD

allocated

STATUS

approved