%I #2 Mar 30 2012 18:59:35
%S 9,17,145,22177,491996737,242060793154621057,
%T 58593427582644242304230418504765697,
%U 3433189755882575096320786725947643765954772037072168669374448906021377
%N Integers with mutual residues -8.
%C This is the special case k=8 of sequences with mutual residues -k. In general, a(1)=k+1 and a(n)=min{m | m>a(n-1), mod(m,a(i))=-k, i=1,...,n-1}.
%C An infinite coprime sequence
%H S. Mustonen, <a href="http://www.survo.fi/papers/resseq.pdf">On integer sequences with mutual k-residues</a>
%F a(1)=9, a(2)=17, a(n)=-1+a(1)*a(2)*...*a(n-1)
%F a(n)=a(n)^2+8*a(n)-8, n>3
%p a:=proc(k,n::nonnegint) option remember; if n<3 then RETURN(n*k+1); fi; if n=3 then RETURN(a(k,1)*a(k,2)-k); fi; a(k,n-1)*(a(k,n-1)+k)-k; end; seq(a(8,n),n=1..8);
%K nonn
%O 1,1
%A _Seppo Mustonen_, Sep 11 2005