OFFSET
1,3
COMMENTS
Essentially the same as A062042. [John W. Layman, Oct 11 2013]
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
MATHEMATICA
s=1; Join[{1, 1}, Table[k=s+1; While[ !PrimeQ[k+s], k++ ]; s=k, {100}]] (* T. D. Noe, Nov 02 2009 *)
PROG
(PARI) FirstTerms(n)={my(x=1, y, a=vector(n), j=2); a[1]=1; a[2]=1; while(j++<=n, y=x+1; while(!isprime(x+y), y++); x=y; a[j]=y); return(a)} \\ R. J. Cano, Jan 18 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Aug 08 2002
EXTENSIONS
Edited by Matthew Conroy, Oct 21 2002
Definition corrected by T. D. Noe, Nov 02 2009
STATUS
approved