login
Integers with mutual residues -10.
0

%I #2 Mar 30 2012 18:59:35

%S 11,21,221,51041,2605694081,6789641669815375361,

%T 46099234004493318683404288695479633921,

%U 2125139375801033098865842355143570823564637490880685503089270581842970173441

%N Integers with mutual residues -10.

%C This is the special case k=10 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)=11, a(2)=21, a(n)=-1+a(1)*a(2)*...*a(n-1)

%F a(n)=a(n)^2+10*a(n)-10, 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(10,n),n=1..9);

%K nonn

%O 1,1

%A _Seppo Mustonen_, Sep 11 2005