A129836 Nonnegative values x of solutions (x, y) to the Diophantine equation x^2 + (x + 97)^2 = y^2.
0, 15, 228, 291, 368, 1575, 1940, 2387, 9416, 11543, 14148, 55115, 67512, 82695, 321468, 393723, 482216, 1873887, 2295020, 2810795, 10922048, 13376591, 16382748, 63658595, 77964720, 95485887, 371029716, 454411923, 556532768
Offset: 1
Links
- G. C. Greubel, Table of n, a(n) for n = 1..1000
- Index entries for linear recurrences with constant coefficients, signature (1,0,6,-6,0,-1,1).
Crossrefs
Programs
-
Magma
m:=25; R
:=PowerSeriesRing(Integers(), m); [0] cat Coefficients(R!(x*(15+213*x+63*x^2-13*x^3-71*x^4-13*x^5)/((1-x)*(1-6*x^3 + x^6)))); // G. C. Greubel, May 07 2018 -
Mathematica
ClearAll[a]; Evaluate[Array[a, 6]] = {0, 15, 228, 291, 368, 1575}; a[n_] := a[n] = 6*a[n-3] - a[n-6] + 194; Table[a[n], {n, 1, 29}] (* Jean-François Alcover, Dec 27 2011, after given formula *) LinearRecurrence[{1,0,6,-6,0,-1,1}, {0,15,228,291,368,1575,1940}, 50] (* G. C. Greubel, May 07 2018 *)
-
PARI
forstep(n=0, 600000000, [3, 1], if(issquare(2*n^2+194*n+9409), print1(n, ",")))
Formula
a(n) = 6*a(n-3) - a(n-6) + 194 for n > 6; a(1)=0, a(2)=15, a(3)=228, a(4)=291, a(5)=368, a(6)=1575.
G.f.: x*(15 + 213*x + 63*x^2 - 13*x^3 - 71*x^4 - 13*x^5)/((1-x)*(1 - 6*x^3 + x^6)).
a(3*k + 1) = 97*A001652(k) for k >= 0.
Extensions
Edited and two terms added by Klaus Brockhaus, Mar 12 2009
Comments