%I #30 May 19 2017 15:53:50
%S 0,1,210,40755,7906276,1533776805,297544793910,57722156241751,
%T 11197800766105800,2172315626468283465,421418033734080886426,
%U 81752926228785223683195,15859646270350599313653420
%N Numbers that are both triangular and pentagonal.
%D J.-M. De Koninck, Ces nombres qui nous fascinent, Entry 210, p. 61, Ellipses, Paris 2008.
%D L. E. Dickson, History of the Theory of Numbers. Carnegie Institute Public. 256, Washington, DC, Vol. 1, 1919; Vol. 2, 1920; Vol. 3, 1923, see vol. 2, p. 22.
%H C. Gill, solution to question no. 8, <a href="https://archive.org/details/mathematicalmis00unkngoog">Mathematical Miscellany</a>, 1 (1836), pp. 220-225, at p. 223.
%H J. C. Su, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL10/Su/su.html">On some properties of two simultaneous polygonal sequences</a>, JIS 10 (2007) 07.10.4, example 4.2.
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/PentagonalTriangularNumber.html">Pentagonal Triangular Number.</a>
%H <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (195,-195,1).
%F a(n) = 194 * a(n-1) - a(n-2) + 16.
%F G.f.: x^2 * (1 + 15*x) / ((1 - x) * (1 - 194*x + x^2)).
%F a(n)=((((1+sqrt(3))^(4*n-1)-(1-sqrt(3))^(4*n-1))/(2^(2*n+1)*sqrt(3)))^2)/2-1/8. - John Sillcox (johnsillcox(AT)hotmail.com), Sep 01 2003
%F a(n+1) = 97*a(n)+8+7*(192*a(n)^2+32*a(n)+1)^(1/2) - _Richard Choulet_, Sep 19 2007
%F a(n) = A076139(2*n - 3) = A108281(2 - n). for all n in Z. - _Michael Somos_, Jun 16 2011
%e G.f. = x^2 + 210*x^3 + 40755*x^4 + 7906276*x^5 + 1533776805*x^6 + ...
%e a(4) = 40755 which is 285*(285-1)/2 = 165*(3*165-1)/2.
%t a[ n_] := ChebyshevU[ 2 n - 3, 7] / 14 + ChebyshevT[ 2 n - 3, 7] / 84 - 1/12; (* _Michael Somos_, Feb 24 2015 *)
%t LinearRecurrence[{195,-195,1},{0,1,210},20] (* _Harvey P. Dale_, May 19 2017 *)
%o (PARI) {a(n) = polchebyshev( 2*n - 3, 2, 7) / 14 + polchebyshev( 2*n - 3, 1, 7) / 84 - 1 / 12}; /* _Michael Somos_, Jun 16 2011 */
%Y Cf. A046174, A046175, A076139, A108281.
%K nonn,easy
%O 1,3
%A Glenn Johnston (glennj(AT)sonic.net)
%E Corrected and extended by _Warut Roonguthai_
%E Edited by _N. J. A. Sloane_, Jul 24 2006