<?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%3ANpr</id>
	<title>TI-BASIC:Npr - 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%3ANpr"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Npr&amp;action=history"/>
	<updated>2026-04-19T19:21:33Z</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:Npr&amp;diff=834&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:Npr&amp;diff=834&amp;oldid=prev"/>
		<updated>2016-02-24T18:20:59Z</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=NPR.GIF&lt;br /&gt;
|summary=Calculates the combinatorial number of permutations.&lt;br /&gt;
|syntax=&amp;#039;&amp;#039;a&amp;#039;&amp;#039; nPr &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;
# 2 to select nPr, 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;
nPr is the number of permutations function, defined as &amp;#039;&amp;#039;a&amp;#039;&amp;#039; nPr &amp;#039;&amp;#039;b&amp;#039;&amp;#039; = &amp;#039;&amp;#039;a&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;: nPr has a higher priority in evaluation than operators such as + or *: for example, 5X nPr 10 will be interpreted as 5(X nPr 10) and not as (5X) nPr 10. You might wish to use parentheses around complex expressions that you will give to nPr as arguments.&lt;br /&gt;
&lt;br /&gt;
 6 nPr 4&lt;br /&gt;
      360&lt;br /&gt;
&lt;br /&gt;
The combinatorial interpretation of &amp;#039;&amp;#039;a&amp;#039;&amp;#039; nPr &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 in order, when there are &amp;#039;&amp;#039;a&amp;#039;&amp;#039; objects in total. For example, when giving 1st, 2nd, and 3rd place awards in a competition between 10 teams, there are 10 nPr 3 different ways to assign the awards.&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 nPr 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:Ncr|NCr]]&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>