<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3ANcr</id>
	<title>TI-BASIC:Ncr - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3ANcr"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Ncr&amp;action=history"/>
	<updated>2026-04-03T19:01:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>http://learn.cemetech.net/index.php?title=TI-BASIC:Ncr&amp;diff=572&amp;oldid=prev</id>
		<title>Maintenance script: Initial automated import</title>
		<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Ncr&amp;diff=572&amp;oldid=prev"/>
		<updated>2016-02-24T18:07:57Z</updated>

		<summary type="html">&lt;p&gt;Initial automated import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:TI-BASIC:Command&lt;br /&gt;
|picture=NCR.GIF&lt;br /&gt;
|summary=Calculates the combinatorial number of combinations.&lt;br /&gt;
|syntax=&amp;#039;&amp;#039;a&amp;#039;&amp;#039; nCr &amp;#039;&amp;#039;b&amp;#039;&amp;#039;&lt;br /&gt;
|location=Press:&lt;br /&gt;
# MATH to access the [[TI-BASIC:Math|Math]] menu.&lt;br /&gt;
# LEFT to access the PRB submenu.&lt;br /&gt;
# 3 to select nCr, or use arrows.&lt;br /&gt;
|compatibility=TI-83/84/+/SE&lt;br /&gt;
|size=1 byte&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
nCr is the number of combinations function (or binomial coefficient), defined as &amp;#039;&amp;#039;a&amp;#039;&amp;#039; nCr &amp;#039;&amp;#039;b&amp;#039;&amp;#039; = &amp;#039;&amp;#039;a&amp;#039;&amp;#039;!/(&amp;#039;&amp;#039;b&amp;#039;&amp;#039;!*(&amp;#039;&amp;#039;a&amp;#039;&amp;#039;-&amp;#039;&amp;#039;b&amp;#039;&amp;#039;)!), where &amp;#039;&amp;#039;a&amp;#039;&amp;#039; and &amp;#039;&amp;#039;b&amp;#039;&amp;#039; are nonnegative integers. The function also works on lists.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tip&amp;#039;&amp;#039;&amp;#039;: nCr has a higher priority in evaluation than operators such as + or *: for example, 5X nCr 10 will be interpreted as 5(X nCr 10) and not as (5X) nCr 10. You might wish to use parentheses around complex expressions that you will give to nCr as arguments.&lt;br /&gt;
&lt;br /&gt;
 6 nCr 4&lt;br /&gt;
      15&lt;br /&gt;
&lt;br /&gt;
The combinatorial interpretation of &amp;#039;&amp;#039;a&amp;#039;&amp;#039; nCr &amp;#039;&amp;#039;b&amp;#039;&amp;#039; is the number of ways to choose &amp;#039;&amp;#039;b&amp;#039;&amp;#039; objects, out of a total of &amp;#039;&amp;#039;a&amp;#039;&amp;#039;, if order doesn&amp;#039;t matter. For example, if there 10 possible pizza toppings, there are 10 nCr 3 ways to choose a 3-topping pizza.&lt;br /&gt;
&lt;br /&gt;
= Error Conditions =&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#dimmismatch|ERR:DIM MISMATCH]]&amp;#039;&amp;#039;&amp;#039; is thrown when applying nCr to two lists that have different dimensions.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[TI-BASIC:Errors#domain|ERR:DOMAIN]]&amp;#039;&amp;#039;&amp;#039; is thrown for negative integers or decimals.&lt;br /&gt;
&lt;br /&gt;
= Related Commands =&lt;br /&gt;
&lt;br /&gt;
* [[TI-BASIC:Npr|NPr]]&lt;br /&gt;
* [[TI-BASIC:Factorial|!]][[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>