|
|
A334277
|
|
Perimeters of almost-equilateral Heronian triangles.
|
|
5
|
|
|
12, 42, 156, 582, 2172, 8106, 30252, 112902, 421356, 1572522, 5868732, 21902406, 81740892, 305061162, 1138503756, 4248953862, 15857311692, 59180292906, 220863859932, 824275146822, 3076236727356, 11480671762602, 42846450323052, 159905129529606, 596774067795372, 2227191141651882
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 3 * ((2 + sqrt(3))^n + (2 - sqrt(3))^n).
G.f.: -6*x*(x - 2)/(x^2 - 4*x + 1).
a(n) = 4*a(n-1) - a(n-2). (End)
E.g.f.: 6*(exp(2*x)*cosh(sqrt(3)*x) - 1). - Stefano Spezia, Jan 29 2021
|
|
EXAMPLE
|
a(1) = 12; there is one Heronian triangle with perimeter 12 whose side lengths are consecutive integers, [3,4,5].
a(2) = 42; there is one Heronian triangle with perimeter 42 whose side lengths are consecutive integers, [13,14,15].
|
|
MATHEMATICA
|
Table[Expand[3 ((2 + Sqrt[3])^n + (2 - Sqrt[3])^n)], {n, 40}]
|
|
CROSSREFS
|
Cf. A011945 (areas), this sequence (perimeters).
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|