login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A083772
Primes arising in A083771.
2
3, 7, 31, 211, 2311, 43891, 1272811, 16546531, 976245271, 36121074991, 1119753324691, 52628406260431, 3526103219448811, 186883470630786931, 7662222295862264131, 743235562698639620611, 54256196077000692304531
OFFSET
1,1
PROG
(PARI) { terms=20; a=A083771=vector(terms); A083771[1]=2; tmp=1; a[1]=3; for(k=2, terms, tmp=tmp*A083771[k-1]; p=1; while(1, until(isprime(p), p=p+2); for(m=1, k-1, if(p==A083771[m], break, if(m==k-1, if(isprime(tmp*p+1), A083771[k]=p; a[k]=tmp*p+1; print1(a[k], ", "); break(2))))))); a }
CROSSREFS
Sequence in context: A103785 A289127 A289125 * A093441 A087864 A066676
KEYWORD
nonn
AUTHOR
Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), May 06 2003
EXTENSIONS
More terms from Rick L. Shepherd, Mar 18 2004
STATUS
approved