|
|
A106528
|
|
Values of y in x^2 - 289 = 2*y^2.
|
|
2
|
|
|
6, 20, 34, 56, 126, 204, 330, 736, 1190, 1924, 4290, 6936, 11214, 25004, 40426, 65360, 145734, 235620, 380946, 849400, 1373294, 2220316, 4950666, 8004144, 12940950, 28854596, 46651570, 75425384, 168176910, 271905276, 439611354, 980206864
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 6*a(n-3) - a(n-6).
G.f.: 2*x*(3 +10*x +17*x^2 +10*x^3 +3*x^4)/(1 -6*x^3 +x^6). (End)
|
|
EXAMPLE
|
a(9) = 1190, 34*A001109(3) = 34*35 = 1190;
|
|
MATHEMATICA
|
LinearRecurrence[{0, 0, 6, 0, 0, -1}, {6, 20, 34, 56, 126, 204}, 40] (* G. C. Greubel, Aug 18 2021 *)
|
|
PROG
|
(Magma) I:=[6, 20, 34, 56, 126, 204]; [n le 6 select I[n] else 6*Self(n-3) - Self(n-6): n in [1..41]]; // G. C. Greubel, Aug 18 2021
(Sage)
P.<x> = PowerSeriesRing(ZZ, prec)
return P( 2*x*(3 +10*x +17*x^2 +10*x^3 +3*x^4)/(1 -6*x^3 +x^6) ).list()
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Andras Erszegi (erszegi.andras(AT)chello.hu), May 09 2005
|
|
STATUS
|
approved
|
|
|
|