Difference between revisions of "Manuals/calci/PASCALTRIANGLE"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<div style="font-size:30px">'''PASCALTRIANGLE(r)'''</div><br/>
+
<div style="font-size:30px">'''PASCALTRIANGLE (Levels)'''</div><br/>
*<math>r</math>  is the row number.
+
*<math>Levels</math>  is the level number of the Pascal Triangle.
  
 
==Description==
 
==Description==
 
*This function gives the Coefficients of the Pascal triangle.
 
*This function gives the Coefficients of the Pascal triangle.
*In <math>PASCALTRIANGLE(r)</math> , <math>r</math> is the row  number of the Pascal triangle.
+
*In <math>PASCALTRIANGLE(Levels)</math> , <math>Levels</math> is the level number of the Pascal triangle.
 
*Pascal triangle is the arrangement of numbers of the Binomial coefficients in a triangular shape.
 
*Pascal triangle is the arrangement of numbers of the Binomial coefficients in a triangular shape.
 
*It is started with the number <math>1</math> at the top in the 1st row.
 
*It is started with the number <math>1</math> at the top in the 1st row.

Revision as of 13:57, 8 June 2018

PASCALTRIANGLE (Levels)


  • is the level number of the Pascal Triangle.

Description

  • This function gives the Coefficients of the Pascal triangle.
  • In , is the level number of the Pascal triangle.
  • Pascal triangle is the arrangement of numbers of the Binomial coefficients in a triangular shape.
  • It is started with the number at the top in the 1st row.
  • Then from the 2nd row each number in the triangle is the sum of the two directly above it.
  • The construction is related to the Binomial Coefficients by Pascal's rule is :

. where is the binomial coefficient.

  • This function will return the result as error when .

Examples

  • 1.=PASCALTRIANGLE(1)
                 1
  • 2.=PASCALTRIANGLE(2)
                 1   
                 1       1
  • 3.=PASCALTRIANGLE(3)
                 1    
                 1       1
                 1       2         1

  • 4.=PASCALTRIANGLE(0) = NULL

Related Videos

PASCAL'S TRIANGLE

See Also

References