login
The OEIS is supported by the many generous donors 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
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
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 7 13:58 EDT 2024. Contains 372310 sequences. (Running on oeis4.)