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.

A202391 Indices of the smallest of four consecutive triangular numbers summing up to a square.

Original entry on oeis.org

5, 39, 237, 1391, 8117, 47319, 275805, 1607519, 9369317, 54608391, 318281037, 1855077839, 10812186005, 63018038199, 367296043197, 2140758220991, 12477253282757, 72722761475559, 423859315570605, 2470433131948079
Offset: 1

Views

Author

Max Alekseyev, Dec 18 2011

Keywords

Comments

Positive integers n such that A000217(n) + A000217(n + 1) + A000217(n + 2) + A000217(n + 3) is a square (=A075870(n+1)^2).

Crossrefs

Formula

a(n) = A002315(n) - 2.
G.f.: x*(1+x)*(x-5) / ( (x-1)*(1-6*x+x^2) ). - R. J. Mathar, Dec 19 2011
a(n+2) = 6*a(n+1) - a(n) + 8; a(n+3) = 7*a(n+2) - 7*a(n+1) + a(n); a(n+1) = (-4 + (7 + 5*r)*(3 + 2*r)^n + (7 - 5*r)*(3 - 2*r)^n)/2 where r = sqrt(2). - Paul Weisenhorn, Jan 13 2013