OFFSET
1,1
COMMENTS
For the first five terms k = floor(a(n)/2). k can take values from 1 to floor(a(n)/2). It is conjectured that at least one value of k, 2 <= k < floor(a(n)/2) gives a prime and the sequence is infinite.
LINKS
Jinyuan Wang, Table of n, a(n) for n = 1..13
EXAMPLE
a(2) = 2*3 + 1 = 7, a(3) = 3*4 + 1 = 13.
PROG
(PARI) { b(n)=forstep(k=n\2, 1, -1, if(isprime(k*(n-k)+1), return(k*(n-k)+1))); return(0) }
s=5; while(1, print1(s, ", "); s=b(s)) \\ Max Alekseyev, Oct 04 2005
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Jul 15 2005
EXTENSIONS
More terms from Max Alekseyev, Oct 04 2005
STATUS
approved