|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/04.17.17.0001.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PartitionsQ[n] == (1/n) Sum[DivisorSigma[1, k] PartitionsQ[n - k],
{k, 1, n}] - (2/n) Sum[DivisorSigma[1, k] PartitionsQ[n - 2 k],
{k, 1, Floor[n/2]}] /; Element[n, Integers] && n > 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List[RowBox[List["PartitionsQ", "[", "n", "]"]], "\[Equal]", RowBox[List[RowBox[List[FractionBox["1", "n"], RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", "1"]], "n"], RowBox[List[RowBox[List["DivisorSigma", "[", RowBox[List["1", ",", "k"]], "]"]], RowBox[List["PartitionsQ", "[", RowBox[List["n", "-", "k"]], "]"]]]]]]]], "-", RowBox[List[FractionBox["2", "n"], RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", "1"]], RowBox[List["Floor", "[", RowBox[List["n", "/", "2"]], "]"]]], RowBox[List[RowBox[List["DivisorSigma", "[", RowBox[List["1", ",", "k"]], "]"]], RowBox[List["PartitionsQ", "[", RowBox[List["n", "-", RowBox[List["2", "k"]]]], "]"]]]]]]]]]]]], "/;", RowBox[List[RowBox[List["n", "\[Element]", "Integers"]], "\[And]", RowBox[List["n", ">", "0"]]]]]]]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'> <semantics> <mrow> <mrow> <mrow> <semantics> <mi> q </mi> <annotation encoding='Mathematica'> TagBox["q", PartitionsQ] </annotation> </semantics> <mo> ( </mo> <mi> n </mi> <mo> ) </mo> </mrow> <mo> ⩵ </mo> <mrow> <mrow> <mfrac> <mn> 1 </mn> <mi> n </mi> </mfrac> <mo> ⁢ </mo> <mrow> <munderover> <mo> ∑ </mo> <mrow> <mi> k </mi> <mo> = </mo> <mn> 1 </mn> </mrow> <mi> n </mi> </munderover> <mrow> <mrow> <msub> <semantics> <mi> σ </mi> <annotation encoding='Mathematica'> TagBox["\[Sigma]", DivisorSigma] </annotation> </semantics> <mn> 1 </mn> </msub> <mo> ( </mo> <mi> k </mi> <mo> ) </mo> </mrow> <mo> ⁢ </mo> <mrow> <semantics> <mi> q </mi> <annotation encoding='Mathematica'> TagBox["q", PartitionsQ] </annotation> </semantics> <mo> ( </mo> <mrow> <mi> n </mi> <mo> - </mo> <mi> k </mi> </mrow> <mo> ) </mo> </mrow> </mrow> </mrow> </mrow> <mo> - </mo> <mrow> <mfrac> <mn> 2 </mn> <mi> n </mi> </mfrac> <mo> ⁢ </mo> <mrow> <munderover> <mo> ∑ </mo> <mrow> <mi> k </mi> <mo> = </mo> <mn> 1 </mn> </mrow> <mrow> <mo> ⌊ </mo> <mfrac> <mi> n </mi> <mn> 2 </mn> </mfrac> <mo> ⌋ </mo> </mrow> </munderover> <mrow> <mrow> <msub> <semantics> <mi> σ </mi> <annotation encoding='Mathematica'> TagBox["\[Sigma]", DivisorSigma] </annotation> </semantics> <mn> 1 </mn> </msub> <mo> ( </mo> <mi> k </mi> <mo> ) </mo> </mrow> <mo> ⁢ </mo> <mrow> <semantics> <mi> q </mi> <annotation encoding='Mathematica'> TagBox["q", PartitionsQ] </annotation> </semantics> <mo> ( </mo> <mrow> <mi> n </mi> <mo> - </mo> <mrow> <mn> 2 </mn> <mo> ⁢ </mo> <mi> k </mi> </mrow> </mrow> <mo> ) </mo> </mrow> </mrow> </mrow> </mrow> </mrow> </mrow> <mo> /; </mo> <mrow> <mi> n </mi> <mo> ∈ </mo> <msup> <semantics> <mi> ℕ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalN]", Function[Integers]] </annotation> </semantics> <mo> + </mo> </msup> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <ci> Condition </ci> <apply> <eq /> <apply> <ci> PartitionsQ </ci> <ci> n </ci> </apply> <apply> <plus /> <apply> <times /> <apply> <times /> <cn type='integer'> 1 </cn> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> <apply> <sum /> <bvar> <ci> k </ci> </bvar> <lowlimit> <cn type='integer'> 1 </cn> </lowlimit> <uplimit> <ci> n </ci> </uplimit> <apply> <times /> <apply> <ci> DivisorSigma </ci> <cn type='integer'> 1 </cn> <ci> k </ci> </apply> <apply> <ci> PartitionsQ </ci> <apply> <plus /> <ci> n </ci> <apply> <times /> <cn type='integer'> -1 </cn> <ci> k </ci> </apply> </apply> </apply> </apply> </apply> </apply> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <times /> <apply> <times /> <cn type='integer'> 2 </cn> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> <apply> <sum /> <bvar> <ci> k </ci> </bvar> <lowlimit> <cn type='integer'> 1 </cn> </lowlimit> <uplimit> <apply> <floor /> <apply> <times /> <ci> n </ci> <apply> <power /> <cn type='integer'> 2 </cn> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </uplimit> <apply> <times /> <apply> <ci> DivisorSigma </ci> <cn type='integer'> 1 </cn> <ci> k </ci> </apply> <apply> <ci> PartitionsQ </ci> <apply> <plus /> <ci> n </ci> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <times /> <cn type='integer'> 2 </cn> <ci> k </ci> </apply> </apply> </apply> </apply> </apply> </apply> </apply> </apply> </apply> </apply> <apply> <in /> <ci> n </ci> <apply> <ci> SuperPlus </ci> <integers /> </apply> </apply> </apply> </annotation-xml> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["PartitionsQ", "[", "n_", "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List[FractionBox[RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", "1"]], "n"], RowBox[List[RowBox[List["DivisorSigma", "[", RowBox[List["1", ",", "k"]], "]"]], " ", RowBox[List["PartitionsQ", "[", RowBox[List["n", "-", "k"]], "]"]]]]]], "n"], "-", FractionBox[RowBox[List["2", " ", RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", "1"]], RowBox[List["Floor", "[", FractionBox["n", "2"], "]"]]], RowBox[List[RowBox[List["DivisorSigma", "[", RowBox[List["1", ",", "k"]], "]"]], " ", RowBox[List["PartitionsQ", "[", RowBox[List["n", "-", RowBox[List["2", " ", "k"]]]], "]"]]]]]]]], "n"]]], "/;", RowBox[List[RowBox[List["n", "\[Element]", "Integers"]], "&&", RowBox[List["n", ">", "0"]]]]]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|