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.

A214633 a(1)=2; a(n) is smallest prime of the form k*a(n-1) + 3, k>0.

This page as a plain text file.
%I A214633 #11 Jun 20 2017 10:59:39
%S A214633 2,5,13,29,61,491,3931,15727,157273,314549,4403689,17614759,387524701,
%T A214633 5425345817,119357607977,9787323854117,78298590832939,
%U A214633 1722568998324661,68902759932986443,4685387675443078127,318606361930129312639,637212723860258625281
%N A214633 a(1)=2; a(n) is smallest prime of the form k*a(n-1) + 3, k>0.
%H A214633 Robert Israel, <a href="/A214633/b214633.txt">Table of n, a(n) for n = 1..391</a>
%p A214633 A214633 := proc(n)
%p A214633     option remember;
%p A214633     local k;
%p A214633     if n =  1 then
%p A214633         2;
%p A214633     else
%p A214633         for k from 1 do
%p A214633             if isprime(k*procname(n-1)+3) then
%p A214633                 return k*procname(n-1)+3 ;
%p A214633             end if;
%p A214633         end do:
%p A214633     end if;
%p A214633 end proc:
%p A214633 seq(A214633(n),n=1..20) ; # _R. J. Mathar_, Jul 23 2012
%Y A214633 Cf. A061092, A059411, A214523, A214632.
%K A214633 nonn
%O A214633 1,1
%A A214633 _Robin Garcia_, Jul 23 2012