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

A026433
a(n) = least positive integer > a(n-1) and not a(i)*a(j)-1 for 1<=i<j<=n.
2
2, 3, 4, 6, 8, 9, 10, 12, 13, 14, 16, 18, 20, 21, 22, 24, 28, 30, 32, 33, 34, 36, 37, 40, 42, 44, 45, 46, 48, 49, 50, 52, 54, 56, 57, 58, 60, 61, 64, 66, 68, 69, 70, 72, 74, 75, 76, 78, 80, 81, 82, 84, 85, 86, 88, 90, 92, 93, 94, 96
OFFSET
1,1
COMMENTS
Contains all members of A006093 except 1. - Robert Israel, Mar 06 2016
LINKS
MAPLE
N:= 1000: # to get all terms <= N
V:= Vector(N):
a[1]:= 2: finished:= false:
for n from 2 do
for i from a[n-1]+1 do
if i > N then
finished:= true; break
elif V[i] = 0 then break
fi
od:
if finished then break fi;
a[n]:= i;
S:= select(`<=`, [seq(a[j]*i-1, j=1..n-1)], N);
if S <> [] then V[S]:= 1 fi;
od:
seq(a[i], i=1..n-1); # Robert Israel, Mar 06 2016
MATHEMATICA
a = {2, 3}; used = {a[[1]]*a[[2]] - 1}; Do[k = a[[-1]] + 1; While[MemberQ[used, k], k++]; used = Union[used, k*a - 1]; AppendTo[a, k], {n, 3, 60}]; a (* Ivan Neretin, Mar 06 2016 *)
CROSSREFS
Cf. A026431 and references therein.
Cf. A006093.
Sequence in context: A352968 A156657 A026431 * A354148 A015858 A321473
KEYWORD
nonn
STATUS
approved