<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.formulasearchengine.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=81.236.236.128</id>
	<title>formulasearchengine - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.formulasearchengine.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=81.236.236.128"/>
	<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/wiki/Special:Contributions/81.236.236.128"/>
	<updated>2026-08-08T15:46:23Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.47.0-wmf.7</generator>
	<entry>
		<id>https://en.formulasearchengine.com/w/index.php?title=Divine_coincidence&amp;diff=30013</id>
		<title>Divine coincidence</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/w/index.php?title=Divine_coincidence&amp;diff=30013"/>
		<updated>2013-12-28T12:12:35Z</updated>

		<summary type="html">&lt;p&gt;81.236.236.128: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;trinomial triangle&#039;&#039;&#039; is a variation of [[Pascal&#039;s triangle]].  The difference between the two is that an entry in the trinomial triangle is the sum of the &#039;&#039;three&#039;&#039; (rather than the &#039;&#039;two&#039;&#039; in Pascal&#039;s triangle) entries above it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
 &amp;amp; &amp;amp;  &amp;amp;  &amp;amp; 1\\&lt;br /&gt;
 &amp;amp; &amp;amp;  &amp;amp; 1&amp;amp; 1&amp;amp;1\\&lt;br /&gt;
 &amp;amp; &amp;amp; 1&amp;amp; 2&amp;amp; 3&amp;amp;2&amp;amp;1\\&lt;br /&gt;
 &amp;amp;1&amp;amp; 3&amp;amp; 6&amp;amp; 7&amp;amp;6&amp;amp;3&amp;amp;1\\&lt;br /&gt;
1&amp;amp;4&amp;amp;10&amp;amp;16&amp;amp;19&amp;amp;16&amp;amp;10&amp;amp;4&amp;amp;1\end{matrix}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;-th entry of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-th row is denoted by&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;{n\choose k}_2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Rows are counted starting from 0. The entries of the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-th row are indexed starting with &amp;lt;math&amp;gt;-n&amp;lt;/math&amp;gt; from the left, and the middle entry has index 0. The symmetry of the entries of a row about the middle entry is expressed by the relationship&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;{n\choose k}_2={n\choose-k}_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Properties ==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-th row corresponds to the coefficients in the [[polynomial expansion]] of the expansion of the [[trinomial]] &amp;lt;math&amp;gt;(1 + x + x^2)&amp;lt;/math&amp;gt; raised to the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-th power:&amp;lt;ref name=&amp;quot;MathWorldTrinomialCoefficient&amp;quot;&amp;gt;{{MathWorld|TrinomialCoefficient|Trinominal Coefficient}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left(1+x+x^2\right)^n= \sum _{j=0}^{2n}{n\choose j-n}_2 x^{j}=\sum _{k=-n}^{n}{n\choose k}_2 x^{n+k}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or, symmetrically,&lt;br /&gt;
:&amp;lt;math&amp;gt;\left(1+x+1/x\right)^n=\sum_{k=-n}^{n}{n\choose k}_2 x^k&amp;lt;/math&amp;gt;,&lt;br /&gt;
hence the alternative name &#039;&#039;&#039;trinomial coefficients&#039;&#039;&#039; because of their relationship to the [[multinomial coefficients]]:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;{n\choose k}_2=\sum_{\textstyle{0\leq\mu,\nu\leq n\atop\mu+2\nu=n+k}}\frac{n!}{\mu!\,\nu!\,(n-\mu-\nu)!}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Furthermore, the diagonals have interesting properties, such as their relationship to the [[triangular numbers]].&lt;br /&gt;
&lt;br /&gt;
The sum of the elements of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-th row is &amp;lt;math&amp;gt;3^n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Recursion formula ==&lt;br /&gt;
&lt;br /&gt;
The trinomial coefficients can be generated using the following [[Recursion|recursion formula]]:&amp;lt;ref name=&amp;quot;MathWorldTrinomialCoefficient&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{0\choose 0}_2=1&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{n+1\choose k}_2={n\choose k-1}_2+{n\choose k}_2+{n\choose k+1}_2&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;n\geq 0&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{n\choose k}_2=0&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;\ k&amp;lt;-n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\ k&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== The middle entries ==&lt;br /&gt;
&lt;br /&gt;
The middle entries of the trinomial triangle {{OEIS|A002426}}&lt;br /&gt;
&lt;br /&gt;
: 1, 1, 3, 7, 19, 51, 141, 393, 1107, 3139, …&lt;br /&gt;
&lt;br /&gt;
were studied by [[Leonhard Euler|Euler]]. The middle entry for the &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;-th row is given by&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;{n\choose0}_2=\sum_{k=0}^n\frac{n(n-1)\cdots(n-2k+1)}{(k!)^2}=\sum_{k=0}^n{n\choose 2k}{2k\choose k}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The corresponding [[generating function]] is&amp;lt;ref&amp;gt;{{MathWorld|CentralTrinomialCoefficient|Central Trinomial Coefficient}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;1+x+3x^2+7x^3+19x^4+\ldots=\frac1{\sqrt{(1+x)(1-3x)}}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Euler also noted the following &#039;&#039;exemplum memorabile inductionis fallacis&#039;&#039; (&amp;quot;notable example of fallacious induction&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;3{n+1\choose0}_2-{n+2\choose0}_2=f_n(f_n+1)&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;0\leq n\leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;f_n&amp;lt;/math&amp;gt; stands for the [[Fibonacci sequence]].  For larger &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, however, this relationship is incorrect. [[George Andrews (mathematician)|George Andrews]] explained this fallacy using the general identity&amp;lt;ref&amp;gt;George Andrews, Three Aspects for Partitions. &#039;&#039;Séminaire Lotharingien de Combinatoire&#039;&#039;, B25f (1990) [http://www.mat.univie.ac.at/~slc/opapers/s25andrews.html Online copy]&amp;lt;/ref&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
: &amp;lt;math&amp;gt;2\sum_{k\in\mathbb Z}\left[{n+1\choose 10k}_2-{n+1\choose 10k+1}_2\right]=f_n(f_n+1).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Chess mathematics ==&lt;br /&gt;
&lt;br /&gt;
[[File:King walks.svg|thumb|right|Number of ways to reach a cell with the minimum number of moves]]&lt;br /&gt;
&lt;br /&gt;
The triangle corresponds to the number of possible paths that can be taken by the [[King (chess)|king]] in a game of [[chess]]. The entry in a cell represents the number of different paths (using a minimum number of moves) the king can take to reach the cell.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear:both;&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Importance in combinatorics ==&lt;br /&gt;
The coefficient of &amp;lt;math&amp;gt;x^k&amp;lt;/math&amp;gt; in the polynomial expansion of &amp;lt;math&amp;gt;\left(1+x+x^2\right)^n&amp;lt;/math&amp;gt; specifies the number of different ways of randomly drawing  &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; cards from two sets of &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; identical playing cards.&amp;lt;ref name=&amp;quot;ct200510&amp;quot;&amp;gt;Andreas Stiller: &#039;&#039;Pärchenmathematik. Trinomiale und Doppelkopf.&#039;&#039; (&amp;quot;Pair mathematics.  Trinomials and the game of &#039;&#039;Doppelkopf&#039;&#039;&amp;quot;). [[c&#039;t]] Heft 10/2005, p. 181ff&amp;lt;/ref&amp;gt; For example, in such a card game with two sets of the three cards A, B, C, the choices look like this:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
!bgcolor=ececec|Number of selected cards&lt;br /&gt;
!bgcolor=ececec|Number of options&lt;br /&gt;
!bgcolor=ececec|Options&lt;br /&gt;
|-&lt;br /&gt;
|0&lt;br /&gt;
|1&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|3&lt;br /&gt;
|A, B, C&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|6&lt;br /&gt;
|AA, AB, AC, BB, BC, CC&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|7&lt;br /&gt;
|AAB, AAC, ABB, ABC, ACC, BBC, BCC&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|6&lt;br /&gt;
|AABB, AABC, AACC, ABBC, ABCC, BBCC&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|3&lt;br /&gt;
|AABBC, AABCC, ABBCC&lt;br /&gt;
|-&lt;br /&gt;
|6&lt;br /&gt;
|1&lt;br /&gt;
|AABBCC&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In particular, this results in &amp;lt;math&amp;gt;{24\choose 12-24}_2={24\choose -12}_2={24\choose 12}_2&amp;lt;/math&amp;gt; as the number of different hands in a game of &#039;&#039;[[Doppelkopf]]&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Alternatively, it is also possible to arrive at this number by considering the number of ways of choosing &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; pairs of identical cards from the two sets, which is &amp;lt;math&amp;gt;{n\choose p}&amp;lt;/math&amp;gt;. The remaining &amp;lt;math&amp;gt;k-2p&amp;lt;/math&amp;gt; cards can then be chosen in &amp;lt;math&amp;gt;{n-p\choose k-2p}&amp;lt;/math&amp;gt; ways,&amp;lt;ref name=&amp;quot;ct200510&amp;quot;/&amp;gt; which can be written in terms of the [[binomial coefficients]] as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{n\choose k-n}_2=\sum_{p=\max(0,k-n)}^{\min(n,[k/2])}{n\choose p}{n-p \choose k-2p}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;6={3\choose 2-3}_2={3\choose 0}{3\choose 2}+{3\choose 1}{2\choose 0}=1\cdot 3+3\cdot 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The example above corresponds to the three ways of selecting two cards without pairs of identical cards (AB, AC, BC) and the three ways of selecting a pair of identical cards (AA, BB, CC).&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
== Further reading ==&lt;br /&gt;
&lt;br /&gt;
* [[Leonhard Euler]], &#039;&#039;Observationes analyticae&#039;&#039; (&amp;quot;Analytical observations&amp;quot;). &#039;&#039;Novi Commentarii academiae scientiarum Petropolitanae&#039;&#039; 11 (1767) 124–143 [http://www.math.dartmouth.edu/~euler/pages/E326.html PDF]&lt;br /&gt;
&lt;br /&gt;
[[Category:Discrete mathematics]]&lt;br /&gt;
[[Category:Triangles of numbers]]&lt;br /&gt;
[[Category:Factorial and binomial topics]]&lt;/div&gt;</summary>
		<author><name>81.236.236.128</name></author>
	</entry>
</feed>