OFFSET
1,5
COMMENTS
Subsidiary sequence: First occurrence of n in this sequence. 1,3,5,...
EXAMPLE
a(8) = 2 as 8*7*6 + 1 = 337 is the least prime of this form.
PROG
(PARI) f(n, k)=prod(i=n-k, n, i)+1; a(n)=for (i=0, n, if(isprime(f(n, i)), print1(i); break()))
CROSSREFS
KEYWORD
sign
AUTHOR
Amarnath Murthy, Mar 18 2004
EXTENSIONS
More terms from Mohammed Bouayoun (bouyao(AT)wanadoo.fr), Mar 19 2004
Corrected and extended by Ray Chandler, Mar 23 2004
STATUS
approved