login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A227480
Triangular numbers of the form p^2 - 1 where p is a prime.
0
3, 120, 528, 139128, 160554240, 812293020528, 379188080252621270252095320, 2816640597719456759751165488439681098364673273236637971046370174350128
OFFSET
1,1
EXAMPLE
139128 is both 527*528/2 and 373^2 - 1 (and 373 is prime).
MATHEMATICA
Select[Prime[Range[100000]]^2-1, OddQ[Sqrt[8#+1]]&] (* The program generates the first six terms of the sequence. *) (* Harvey P. Dale, Sep 17 2023 *)
CROSSREFS
Subsequence of A006454 and of A225115.
Sequence in context: A305364 A304956 A316638 * A304694 A316445 A316127
KEYWORD
nonn
AUTHOR
Shreevatsa R, Jul 12 2013
EXTENSIONS
a(7)-a(8) from Giovanni Resta, Jul 13 2013
STATUS
approved