A052289 Numbers n such that n!*2^n + n + 1 = A000165(n) + n + 1 is prime.
0, 2, 4, 12, 18, 36
Offset: 1
Examples
n=4, 2^4*4! + 4 + 1 = 389 is prime.
Programs
-
Mathematica
Select[Range[100], PrimeQ[#! 2^# + # + 1] &] (* Giovanni Resta, May 31 2018 *)
Extensions
a(1)=0 inserted by Sean A. Irvine, Nov 03 2021
Comments