OFFSET
0,2
COMMENTS
The shapes can be constructed using compass and straightedge. a(n) identical circles must be drawn to create a truncated triangle whose shortest side is n radius lengths. See illustrations of the initial terms in the links.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Mert Aydemir, Semi-postesque hexagon lenis
Mert Aydemir, Illustration of n=1
Mert Aydemir, Illustration of n=3
Mert Aydemir, Illustration of n=4
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
a(n) = (13*n^2 + 9*n + 2)/2.
G.f.: (1 + 9*x + 3*x^2)/(1 - x)^3. - Stefano Spezia, Apr 01 2021
EXAMPLE
a(1) = 12, a(2) = 36:
* * * * *
* * * * * * *
* * * * * * * * *
* * * * * * * * *
* * * * * * *
* * * * * *
* * * * *
MATHEMATICA
CoefficientList[Series[(1+9x+3x^2)/(1-x)^3, {x, 0, 50}], x] (* or *) LinearRecurrence[{3, -3, 1}, {1, 12, 36}, 50] (* Harvey P. Dale, Apr 08 2023 *)
PROG
(PARI) a(n) = (13*n^2+9*n+2)/2 \\ Andrew Howroyd, Apr 01 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mert Aydemir, Mar 31 2021
STATUS
approved