login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A100958 Values of n for which the Stirling number of the second kind, S(n,4), is prime. 0
16, 40, 1416, 10780 (list; graph; refs; listen; history; text; internal format)
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 17 08:42 EDT 2019. Contains 325098 sequences. (Running on oeis4.)