OFFSET
1,1
COMMENTS
Apart from the first entry, the majority of the entries stem from k=4, i.e., this is essentially a reverse lookup within A033560. - R. J. Mathar, Mar 15 2012
EXAMPLE
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.
PROG
(PARI) is_A207973(n)={local(k); k=1; while((k<n)&&(prime(n-k)+k!)<prime(n), k=k+1); if((k<n)&&(prime(n-k)+k!)==prime(n), isprime(n), 0)} \\ Michael B. Porter, Mar 22 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Gerasimov Sergey, Mar 02 2012
STATUS
approved