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.

A171569 Triangular numbers T such that T-2 is a prime.

Original entry on oeis.org

15, 21, 45, 55, 91, 105, 153, 231, 253, 351, 435, 465, 595, 703, 741, 861, 1035, 1225, 1431, 1485, 1711, 1891, 1953, 2145, 2701, 3003, 3081, 3321, 3741, 4005, 4095, 4465, 4753, 5565, 5671, 6555, 7021, 7875, 8515, 9045, 10011, 10153, 10731, 11175, 11781
Offset: 1

Views

Author

Keywords

Examples

			15-2 = 13, 21-2 = 19, 45-2 = 43, ...
		

Crossrefs

Programs

  • Mathematica
    Select[s=0;Table[n*(n+1)/2,{n,6!}],PrimeQ[ #-2]&]
    Select[Accumulate[Range[200]],PrimeQ[#-2]&] (* Harvey P. Dale, Apr 09 2018 *)