A207973 Primes p such that the equation prime(p-k)+k! = prime(p) has at least one solution k>0.
2, 31, 43, 67, 107, 151, 167, 179, 227, 233, 389, 509, 547, 661, 719, 769, 823, 829, 967, 1033, 1093, 1259, 1321, 1493, 1567, 1733, 1873, 2099, 2341, 2539, 2621, 2683, 2819, 2927, 3119, 3169, 3373
Offset: 1
Keywords
Examples
2 is in the sequence because prime(2) = prime(2-1)+1 = 3, 31 is in the sequence because prime(31) = prime(31-4)+1*2*3*4 = 103+24 = 127, 43 is in the sequence because prime(43) = prime(43-4)+1*2*3*4 = 167+24 = 191.
Programs
-
PARI
is_A207973(n)={local(k);k=1;while((k
Michael B. Porter, Mar 22 2012
Comments