login

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

A216269
Numbers n such that n^2 - 1 is a tetrahedral number (A000292).
2
1, 6, 11, 45, 51, 209, 660099
OFFSET
1,2
COMMENTS
Corresponding tetrahedral numbers are in A216268.
The curve 6*(x^2-1)-y*(y+1)*(y+2)=0 is elliptic, and has finitely many integral points by Siegel's theorem. - Robert Israel, Apr 22 2021
MATHEMATICA
t = {}; Do[tet = n (n + 1) (n + 2)/6; If[IntegerQ[s = Sqrt[tet + 1]], AppendTo[t, s]], {n, 0, 100000}]; t (* T. D. Noe, Mar 18 2013 *)
PROG
(Python)
import math
for i in range(1<<30):
t = i*(i+1)*(i+2)//6 + 1
sr = int(math.sqrt(t))
if sr*sr == t:
print(sr)
CROSSREFS
Cf. A003556 (both square and tetrahedral).
Sequence in context: A270691 A270280 A270727 * A094555 A271056 A271255
KEYWORD
nonn,fini
AUTHOR
Alex Ratushnyak, Mar 15 2013
STATUS
approved