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

A026458
a(n) = least positive integer > a(n-1) and not a(i)*a(j)-2 for 1<=i<j<=n.
2
3, 4, 5, 6, 7, 8, 9, 11, 12, 14, 15, 17, 20, 21, 23, 24, 27, 29, 32, 35, 36, 37, 39, 41, 44, 45, 47, 48, 50, 51, 55, 56, 57, 59, 60, 62, 63, 65, 69, 71, 72, 74, 76, 77, 80, 81, 84, 87, 89, 91, 92, 93, 95, 99, 101, 102, 104, 105, 107, 108
OFFSET
1,1
LINKS
MATHEMATICA
a = {3, 4}; used = {a[[1]]*a[[2]] - 2}; Do[k = a[[-1]] + 1; While[MemberQ[used, k], k++]; used = Union[used, k*a - 2]; AppendTo[a, k], {n, 3, 60}]; a (* Ivan Neretin, Mar 06 2016 *)
CROSSREFS
Cf. A026453 and references therein.
Sequence in context: A298111 A299534 A026454 * A059109 A189080 A039113
KEYWORD
nonn
EXTENSIONS
Definition corrected by Harvey P. Dale, Oct 16 2014
STATUS
approved