login

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”).

A100812
{a(n)} is monotone increasing, with a(1)=1, a(2)=3 and, for n>2, a(n) is the smallest integer such that a(n) mod a(j) is never a(i) for any pair i,j with 1<=i<j<n.
0
1, 3, 5, 9, 15, 17, 27, 29, 45, 47, 87, 89, 135, 227, 267, 269, 540, 674, 947, 1217, 1442, 1485, 2522, 2564, 2792, 2832, 2834, 2972, 3102, 3240, 3242, 3645, 3737, 4142, 4182, 4320, 4992, 5400, 5807, 6077, 7017, 7967, 8370, 8772, 8774, 9677, 9717, 9990, 9992
OFFSET
1,2
EXAMPLE
a(8)<>28, since 28=1 mod 27. But the residues of 29 modulo 3,5,9,15,17 and 27 are 2,4,2,14,12 and 2, none of which are earlier terms of the sequence, so a(8)=29.
CROSSREFS
Sequence in context: A339345 A111249 A190804 * A274432 A190939 A018634
KEYWORD
nonn
AUTHOR
John W. Layman, Jan 05 2005
STATUS
approved