Bill Allombert on Mon, 16 Mar 2009 23:03:11 +0100

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Stirling numbers

On Mon, Mar 16, 2009 at 05:37:40PM +0100, Rampal S Etienne wrote:
> Hi,
> Is there a quick way of computing the vector of Stirling numbers of the
> first kind s(n,k) for all k?
> The catalogue only gives an example for Stirling numbers of the second kind.

For the Stirling numbers of the first kind, the function below should
return all the s(n,k) as a vector:


(and should work with both PARI 2.3 and PARI 2.4)