A078748 Duplicate of A051131.
2, 5, 877, 27644437, 35742549198872617291353508656626642567
Offset: 1
This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
The Bell numbers Bell(2)=2, Bell(3)=5, Bell(7)=877 etc. are primes.
[n: n in [0..1000]|IsPrime(Bell(n))]; // Vincenzo Librandi, Jan 30 2016
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 *)
a(4) = 66 because Bell(4) = 15 and 15 + 51 = 66. a(5) = 77 because Bell(5) = 52 and 52 + 25 = 77.
[Bell(n) + Seqint(Reverse(Intseq(Bell(n)))): n in [0..30]];
g:= proc(n) local L,i; L:= convert(n,base,10); n + add(L[-i]*10^(i-1),i=1..nops(L)) end proc: map(g @ combinat:-bell, [$0..30]); # Robert Israel, Mar 13 2019
BellB[#] + FromDigits[Reverse[IntegerDigits[BellB[#]]]]&/@Range[0, 30]
Comments