[go: up one dir, main page]

login
A269448
The first of 26 consecutive positive integers the sum of the squares of which is a square.
4
25, 301, 454, 3850, 31966, 47569, 393925, 3261481, 4852834, 40177750, 332640346, 494942749, 4097737825, 33926055061, 50479308814, 417929081650, 3460124977126, 5148394557529, 42624668591725, 352898821613041, 525085765560394, 4347298267275550
OFFSET
1,1
COMMENTS
Positive integers y in the solutions to 2*x^2-52*y^2-1300*y-11050 = 0.
All sequences of this type (i.e. sequences with fixed offset k, and a discernible pattern: k=0...25 for this sequence, k=0...22 for A269447, k=0..1 for A001652) can be continued using a formula such as x(n) = a*x(n-p) - x(n-2p) + b, where a and b are various constants, and p is the period of the series. Alternatively 'p' can be considered the number of concurrent series. - Daniel Mondot, Aug 05 2016
FORMULA
G.f.: x*(25+276*x+153*x^2+846*x^3-36*x^4-3*x^5-11*x^6) / ((1-x)*(1-102*x^3+x^6)).
a(1)=25, a(2)=301, a(3)=454, a(4)=3850, a(5)=31966, a(6)=47569, a(n)=102*a(n-3) - a(n-6) + 1250. - Daniel Mondot, Aug 05 2016
EXAMPLE
25 is in the sequence because sum(k=25, 50, k^2) = 38025 = 195^2.
MATHEMATICA
Rest@ CoefficientList[Series[x (25 + 276 x + 153 x^2 + 846 x^3 - 36 x^4 - 3 x^5 - 11 x^6)/((1 - x) (1 - 102 x^3 + x^6)), {x, 0, 22}], x] (* Michael De Vlieger, Aug 07 2016 *)
PROG
(PARI) Vec(x*(25+276*x+153*x^2+846*x^3-36*x^4-3*x^5-11*x^6)/((1-x)*(1-102*x^3+x^6)) + O(x^30))
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Feb 27 2016
STATUS
approved