A156567 Positive numbers y such that y^2 is of the form x^2+(x+23)^2 with integer x.
17, 23, 37, 65, 115, 205, 373, 667, 1193, 2173, 3887, 6953, 12665, 22655, 40525, 73817, 132043, 236197, 430237, 769603, 1376657, 2507605, 4485575, 8023745, 14615393, 26143847, 46765813, 85184753, 152377507, 272571133, 496493125
Offset: 1
Keywords
Examples
(-8, a(1)) = (-8, 17) is a solution: (-8)^2+(-8+23)^2 = 64+225 = 289 = 17^2. (A118337(1), a(2)) = (0, 23) is a solution: 0^2+(0+23)^2 = 529 = 23^2. (A118337(3), a(4)) = (33, 65) is a solution: 33^2+(33+23)^2 = 1089+3136 = 4225 = 65^2.
Crossrefs
Programs
-
PARI
{forstep(n=-8, 360000000, [1,3], if(issquare(2*n*(n+23)+529, &k), print1(k, ",")))}
Formula
a(n) = 6*a(n-3)-a(n-6) for n > 6; a(1)=17, a(2)=23, a(3)=37, a(4)=65, a(5)=115, a(6)=205.
G.f.: x*(1-x)*(17+40*x+77*x^2+40*x^3+17*x^4)/(1-6*x^3+x^6).
Extensions
G.f. corrected, third and fourth comment edited, cross-reference added by Klaus Brockhaus, Sep 18 2009
Comments