A159893 Positive numbers y such that y^2 is of the form x^2+(x+727)^2 with integer x.
677, 727, 785, 3277, 3635, 4033, 18985, 21083, 23413, 110633, 122863, 136445, 644813, 716095, 795257, 3758245, 4173707, 4635097, 21904657, 24326147, 27015325, 127669697, 141783175, 157456853, 744113525, 826372903, 917725793
Offset: 1
Examples
(-52, a(1)) = (-52, 677) is a solution: (-52)^2+(-52+727)^2 = 2704+455625 = 458329 = 677^2. (A130646(1), a(2)) = (0, 727) is a solution: 0^2+(0+727)^2 = 528529 = 727^2. (A130646(3), a(4)) = (1925, 3277) is a solution: 1925^2+(1925+727)^2 = 3705625+7033104 = 10738729 = 3277^2.
Links
- G. C. Greubel, Table of n, a(n) for n = 1..3895
- Index entries for linear recurrences with constant coefficients, signature (0,0,6,0,0,-1).
Crossrefs
Programs
-
Magma
I:=[677,727,785,3277,3635,4033]; [n le 6 select I[n] else 6*Self(n-3) - Self(n-6): n in [1..30]]; // G. C. Greubel, May 17 2018
-
Mathematica
LinearRecurrence[{0,0,6,0,0,-1}, {677,727,785,3277,3635,4033}, 50] (* G. C. Greubel, May 17 2018 *)
-
PARI
{forstep(n=-52, 10000000, [1, 3], if(issquare(2*n^2+1454*n+528529, &k), print1(k, ",")))}
Formula
a(n) = 6*a(n-3)-a(n-6) for n > 6; a(1)=677, a(2)=727, a(3)=785, a(4)=3277, a(5)=3635, a(6)=4033.
G.f.: (1-x)*(677+1404*x+2189*x^2+1404*x^3+677*x^4)/(1-6*x^3+x^6).
a(3*k-1) = 727*A001653(k) for k >= 1.
Comments