cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A026454 a(n) = least positive integer > a(n-1) and not equal to a(i)*a(j)-2 for 1<=i

Original entry on oeis.org

1, 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
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A026453 and references therein.

Programs

  • Mathematica
    a = {1, 3}; 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 *)

Extensions

Definition corrected by Harvey P. Dale, Jun 12 2013