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.

A147849 a(n) is the smallest triangular number > n-th prime.

Original entry on oeis.org

3, 6, 6, 10, 15, 15, 21, 21, 28, 36, 36, 45, 45, 45, 55, 55, 66, 66, 78, 78, 78, 91, 91, 91, 105, 105, 105, 120, 120, 120, 136, 136, 153, 153, 153, 153, 171, 171, 171, 190, 190, 190, 210, 210, 210, 210, 231, 231, 231, 231, 253, 253, 253, 253, 276, 276, 276, 276
Offset: 1

Views

Author

Zak Seidov, Nov 15 2008

Keywords

Crossrefs

Cf. A097050 (smallest prime > n-th triangular number).

Programs

  • Mathematica
    a1 = Reap[Do[p = Prime[m]; Do[t = n (n + 1)/2; If[t > p, Sow[t]; Break[]], {n, 200}], {m, 100}]][[2, 1]]