A051130 Indices of prime Bell numbers A000110.
2, 3, 7, 13, 42, 55, 2841
Offset: 1
Examples
The Bell numbers Bell(2)=2, Bell(3)=5, Bell(7)=877 etc. are primes.
Links
- E. T. Bell, Exponential numbers, Amer. Math. Monthly, 41 (1934), 411-419.
- The Prime Database, 93074010508593618333...(6499 other digits)...83885253703080601131
- Eric Weisstein's World of Mathematics, Bell Number
- Eric Weisstein's World of Mathematics, Integer Sequence Primes
Programs
-
Magma
[n: n in [0..1000]|IsPrime(Bell(n))]; // Vincenzo Librandi, Jan 30 2016
-
Mathematica
Reap[For[n = 1, n <= 3000, n++, If[PrimeQ[BellB[n]], Print[n]; Sow[n]]]][[2, 1]] (* Jean-François Alcover, Jun 05 2012 *) Select[Range[2900],PrimeQ[BellB[#]]&] (* Harvey P. Dale, Nov 08 2012 *)
Comments