cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A083772 Primes arising in A083771.

This page as a plain text file.
%I A083772 #7 Aug 25 2014 11:29:33
%S A083772 3,7,31,211,2311,43891,1272811,16546531,976245271,36121074991,
%T A083772 1119753324691,52628406260431,3526103219448811,186883470630786931,
%U A083772 7662222295862264131,743235562698639620611,54256196077000692304531
%N A083772 Primes arising in A083771.
%o A083772 (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 }
%Y A083772 Cf. A039726, A083771.
%K A083772 nonn
%O A083772 1,1
%A A083772 _Amarnath Murthy_ and Meenakshi Srikanth (menakan_s(AT)yahoo.com), May 06 2003
%E A083772 More terms from _Rick L. Shepherd_, Mar 18 2004