ff: Falling factorial

ffR Documentation

Falling factorial

Description

The function computes the descending (falling) factorial of a positive integer n with respect to a positive integer k less or equal to n.

Usage

ff( n=1, k ) 

Arguments

n

integer

k

integer

Details

Run ff(n, k) to get n(n-1)(n-2).....(n-k+1).

Value

integer

the descending factorial

Author(s)

Elvira Di Nardo elvira.dinardo@unito.it,
Giuseppe Guarino giuseppe.guarino@rete.basilicata.it

See Also

mkmSet, countP, nStirling2, intPart, mCoeff

Examples

# Return 6*5*4 = 120
ff(6,3) 

kStatistics documentation built on June 8, 2022, 5:05 p.m.