This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A238624 Number of partitions of n such that either both floor(n/2) and ceiling(n/2) are parts or else neither is a part. 4
 0, 2, 2, 5, 4, 11, 9, 22, 20, 42, 40, 77, 77, 135, 141, 231, 247, 385, 420, 627, 696, 1002, 1124, 1575, 1782, 2436, 2776, 3718, 4256, 5604, 6437, 8349, 9617, 12310, 14203, 17977, 20764, 26015, 30070, 37338, 43166, 53174, 61469, 75175, 86879, 105558, 121926 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS EXAMPLE a(7) counts these 9 partitions:  7, 61, 52, 511, 43, 2221, 22111, 211111, 1111111. MATHEMATICA z=40; g[n_] := g[n] = IntegerPartitions[n]; t1 = Table[Count[g[n], p_ /; Or[MemberQ[p, Floor[n/2]], MemberQ[p, Ceiling[n/2]]]], {n, z}]   (* A238622 [or] *) t2 = Table[Count[g[n], p_ /; Nor[MemberQ[p, Floor[n/2]], MemberQ[p, Ceiling[n/2]]]], {n, z}]   (* A238623 [nor] *) t3 = Table[Count[g[n], p_ /; Xnor[MemberQ[p, Floor[n/2]], MemberQ[p, Ceiling[n/2]]]], {n, z}]   (* A238624 [xnor] *) CROSSREFS Cf. A238622, A238623. Sequence in context: A112472 A240412 A292263 * A124506 A264687 A112471 Adjacent sequences:  A238621 A238622 A238623 * A238625 A238626 A238627 KEYWORD nonn,easy AUTHOR Clark Kimberling, Mar 02 2014 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified August 20 14:36 EDT 2019. Contains 326152 sequences. (Running on oeis4.)