OFFSET
1,1
COMMENTS
Regarding k = 1: 3 is the only prime p such that p-1 is prime, so 3*(1*3-1) = 6. But 6 is a term for p = 2 and k = 2 (see example), therefore the sequence does not change if k = 1 is allowed in the definition.
EXAMPLE
For p = 2 and k = 2 we have 2*(2*2-1) = 6, so 6 is a term. For p = 3 and k = 6 we have 3*(6*3-1) = 51, so 51 is a term.
PROG
(Magma) m:=170; { s: p, q in PrimesUpTo(m) | s le 2*m and exists(t){ k: k in [2..p*q div 2] | q eq p*k-1 } where s is p*q };
CROSSREFS
KEYWORD
nonn
AUTHOR
Vassilis Papadimitriou, Jul 02 2009
EXTENSIONS
Edited, corrected and extended by Klaus Brockhaus, Jul 06 2009
STATUS
approved