| Bill Allombert on Mon, 16 Mar 2009 18:31:43 +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?
A function stirling is available in PARI staring with SVN version r8396.
> The catalogue only gives an example for Stirling numbers of the second kind.
> By the way, the function stirling does not seem to work, or is there a
> different way to call it?
Could you be more specific ?
? ?stirling
stirling(n,k,{flag=1}): If flag=1 (default) return the Stirling number of the
first kind s(n,k), if flag=2, return the Stirling number of the second kind
S(n,k).
? stirling(5,2)
%1 = -50
Cheers,
Bill.