U E D R , A S I H C RSS

파스칼삼각형/변형진

합(Combination) .
n+1행 n+1 합 nCr , n!/r!(n-r)! .

~php
<?
echo factorial($row-1)/(factorial($col-1)*factorial($row-$col));
function factorial($n)
{
	if($n==1) return 1;
	return $n*factorial($n-1);
}
?>
----

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:31:23
Processing time 0.0090 sec