OFFSET
1,2
COMMENTS
Corresponding areas are 0, 120, 25080, 4890480, 949077360, 184120982760, ...
Values of (x^2 + y^2)/2, where the pair (x, y) satisfies x^2 - 3*y^2 = -2, i.e., a(n) = {(A001834(n))^2 + (A001835(n))^2}/2 = {(A001834(n))^2 + A046184(n)}/2. - Lekraj Beedassy, Jul 13 2006
The heights of these triangles are given in A028230. (A028230(n), A045899(n), A103772(n)) forms a primitive Pythagorean triple.
Shortest side of (k,k+2,k+3) triangle such that median to longest side is integral. Sequence of such medians is A028230. - James R. Buddenhagen, Nov 22 2013
Numbers n such that (n+1)*(3n-1) is a square. - James R. Buddenhagen, Nov 22 2013
LINKS
Colin Barker, Table of n, a(n) for n = 1..850
J. B. Cosgrave, The Gauss-Factorial Motzkin connection (Maple worksheet, change suffix to .mw)
J. B. Cosgrave and K. Dilcher, An Introduction to Gauss Factorials, The American Mathematical Monthly, 118 (Nov. 2011), 812-829.
Project Euler, Problem 94: Almost Equilateral Triangles.
Index entries for linear recurrences with constant coefficients, signature (15,-15,1).
FORMULA
a(n) = (4*A001570(n+1) - 1)/3, n > 0. - Ralf Stephan, May 20 2007
G.f.: x*(1+x)^2/((1-x)*(1-14*x+x^2)). - Colin Barker, Apr 09 2012
a(n) = 15*a(n-1) - 15*a(n-2) + a(n-3); a(1)=1, a(2)=17, a(3)=241. - Harvey P. Dale, Jan 02 2016
a(n) = (-1+(7-4*sqrt(3))^n*(2+sqrt(3))-(-2+sqrt(3))*(7+4*sqrt(3))^n)/3. - Colin Barker, Mar 05 2016
a(n) = 14*a(n-1) - a(n-2) + 4. - Vincenzo Librandi, Mar 05 2016
MATHEMATICA
a[1] = 1; a[2] = 17; a[3] = 241; a[n_] := a[n] = 15a[n - 1] - 15a[n - 2] + a[n - 3]; Table[ a[n] - 1, {n, 17}] (* Robert G. Wilson v, Mar 24 2005 *)
LinearRecurrence[{15, -15, 1}, {1, 17, 241}, 20] (* Harvey P. Dale, Jan 02 2016 *)
RecurrenceTable[{a[1] == 1, a[2] == 17, a[n] == 14 a[n-1] - a[n-2] + 4}, a, {n, 20}] (* Vincenzo Librandi, Mar 05 2016 *)
PROG
(PARI) Vec(x*(1+x)^2/((1-x)*(1-14*x+x^2)) + O(x^25)) \\ Colin Barker, Mar 05 2016
(Magma) I:=[1, 17]; [n le 2 select I[n] else 14*Self(n-1)-Self(n-2)+4: n in [1..20]]; // Vincenzo Librandi, Mar 05 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Zak Seidov, Feb 23 2005
EXTENSIONS
More terms from Robert G. Wilson v, Mar 24 2005
STATUS
approved