

A100958


Values of n for which the Stirling number of the second kind, S(n,4), is prime.


0




OFFSET

1,1


COMMENTS

Values have been checked up to n=100000.


LINKS

Table of n, a(n) for n=1..4.


EXAMPLE

S(16,4)=171798901 and S(40,4)=50369882873307917364901 are both prime numbers.


MATHEMATICA

Do[ If[ PrimeQ[ StirlingS2[n, 4]], Print[n]], {n, 4, 11000, 4}] (* Robert G. Wilson v, Jan 14 2005 *)


PROG

(PARI) isok(n) = isprime(stirling(n, 4, 2)); \\ Michel Marcus, Apr 03 2016


CROSSREFS

Sequence in context: A174086 A174081 A230802 * A246344 A044093 A044474
Adjacent sequences: A100955 A100956 A100957 * A100959 A100960 A100961


KEYWORD

nonn,more


AUTHOR

Joe DeMaio, Stephen Touset (jdemaio(AT)kennesaw.edu), Jan 11 2005


STATUS

approved



