[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Revision History for A165518 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Perfect squares (A000290) that can be expressed as the sum of four consecutive triangular numbers (A000217).
(history; published version)
#40 by Jon E. Schoenfield at Wed Feb 16 23:36:13 EST 2022
STATUS

editing

approved

#39 by Jon E. Schoenfield at Wed Feb 16 23:36:11 EST 2022
PROG

(MAGMAMagma) I:=[4, 100, 3364]; [n le 3 select I[n] else 35*Self(n-1) - 35*Self(n-2) +Self(n-3): n in [1..50]]; // G. C. Greubel, Oct 21 2018

STATUS

approved

editing

#38 by Bruno Berselli at Mon Oct 22 03:51:53 EDT 2018
STATUS

reviewed

approved

#37 by Michel Marcus at Mon Oct 22 03:42:18 EDT 2018
STATUS

proposed

reviewed

#36 by Jon E. Schoenfield at Sun Oct 21 23:27:47 EDT 2018
STATUS

editing

proposed

Discussion
Mon Oct 22
03:42
Michel Marcus: 50 terms seem too much ...
#35 by Jon E. Schoenfield at Sun Oct 21 23:27:44 EDT 2018
COMMENTS

As T(n) + T(n+1) = (n+1)^2 and T(n+2) + T(n+3) = (n+3)^2, it follows that the equation T(n) + T(n+1) + T(n+2) + T(n+3) = s^2 becomes (n+1)^2 + (n+3)^2 = s^2. Hence the solutions to this equation correspond to those Pythagorean triples with shorter legs that differ by two, such as 6^2 + 8^2 = 10^2.

a(n) Terms are the squares of the hypotenuse for hypotenuses of Pythagorean triangles where other two sides are m and m+2, excepting the initial 4. See A075870. - Richard R. Forberg, Aug 15 2013

FORMULA

a(n) = 35*a(n-1) - 35*a(n-2) + a(n-3).

a(n) = 34*a(n-1) - a(n-2) - 32.

a(n) = (2 + (3+2*sqrt(2))^(2*n+1) + (3-2*sqrt(2))^(2*n+1))/2.

EXAMPLE

As the third perfect square that can be expressed as the sum of four consecutive triangular numbers is 3364 = T(39) + T(40) + T(41) + T(42), we have a(3)=3364.

The first term, 4, equals T(-1) + T(0) + T(1) + T(2).

STATUS

proposed

editing

#34 by G. C. Greubel at Sun Oct 21 23:07:25 EDT 2018
STATUS

editing

proposed

#33 by G. C. Greubel at Sun Oct 21 23:07:08 EDT 2018
FORMULA

a(n) = 35a35*a(n-1) -35a35*a(n-2) +a(n-3).

a(n) = 34a34*a(n-1) -a(n-2) -32.

a(n) = 1/2 [(2+(3+2sqrt2*sqrt(2))^(2n2*n+1) + (3-2sqrt2*sqrt(2))^(2n2*n+1)])/2.

a(n) = ceiling((1/2)*(2 + (3+2sqrt2*sqrt(2))^(2n+1))).

G.f.: 4x4*x*(x^2-34x10*x+251)/((1-x)*(x^2-34x34*x+1)).

PROG

(PARI) x='x+O('x^50); Vec(4*x*(1-10*x+x^2)/((1-x)*(1-34*x+x^2))) \\ G. C. Greubel, Oct 21 2018

(MAGMA) I:=[4, 100, 3364]; [n le 3 select I[n] else 35*Self(n-1) - 35*Self(n-2) +Self(n-3): n in [1..50]]; // G. C. Greubel, Oct 21 2018

STATUS

approved

editing

#32 by Charles R Greathouse IV at Sat Jun 13 00:53:16 EDT 2015
LINKS

<a href="/index/Rec#order_03">Index to sequences with entries for linear recurrences with constant coefficients</a>, signature (35,-35,1).

Discussion
Sat Jun 13
00:53
OEIS Server: https://oeis.org/edit/global/2439
#31 by Bruno Berselli at Thu Dec 04 04:13:12 EST 2014
STATUS

reviewed

approved