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”).
%I #17 Sep 08 2022 08:46:07
%S 2,5,11,111,12211,149096311,22229709804712411,
%T 494159998001727075769152612720511
%N a(0)=2, a(1)=5; thereafter a(n) = product of all preceding terms, plus 1.
%H Robert Munafo, <a href="http://mrob.com/pub/math/nu-sequences.html#table">Some integer sequences</a>
%H Robert Munafo, <a href="http://mrob.com/pub/seq/coprime.html">Mutually coprime sequences</a>
%t nxt[{t_,a_}]:=Module[{k=t+1},{t k,k}]; Join[{2},NestList[nxt,{10,5},7][[All,2]]] (* _Harvey P. Dale_, Oct 25 2020 *)
%o (Magma) I:=[2,5,11]; [n le 3 select I[n] else Self(n-1)*(Self(n-1)-1)+1: n in [1..10]]; // _Vincenzo Librandi_, May 22 2014
%Y A variant of A144784. Cf. A239900.
%K nonn
%O 0,1
%A _N. J. A. Sloane_, Apr 05 2014
%E a(6) corrected by _Harvey P. Dale_, Oct 25 2020