|
| |
|
|
A110389
|
|
Integers with mutual residues -1.
|
|
0
| | |
|
|
|
OFFSET
| 1,1
|
|
|
COMMENTS
| This is the special case k=1 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}.
An infinite coprime sequence
Same as A005267 but two first terms in reverse order
|
|
|
LINKS
| S. Mustonen, On integer sequences with mutual k-residues
|
|
|
FORMULA
| a(1)=2, a(2)=3, a(n)=-1+a(1)*a(2)*...*a(n-1)
a(n)=a(n-1)^2+a(n-1)-1, n>3
|
|
|
MAPLE
| 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(1, n), n=1..10);
|
|
|
CROSSREFS
| Cf. A000289.
Sequence in context: A107451 A093490 A073309 * A083388 A090475 A060301
Adjacent sequences: A110386 A110387 A110388 * A110390 A110391 A110392
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Seppo Mustonen (seppo.mustonen(AT)helsinki.fi), Sep 11 2005
|
| |
|
|