OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
a(5) = 77 as prime(5) = 11,77 = 11*7 and 78 = 6*13= a multiple of prime(6).
MATHEMATICA
Do[k = 1; While[Mod[k*Prime[n] + 1, Prime[n+1]] != 0, k++ ]; Print[k*Prime[n]], {n, 1, 50}] (* Ryan Propper, Jul 09 2005 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Nov 04 2002
EXTENSIONS
More terms from Ryan Propper, Jul 09 2005
STATUS
approved