login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A330451
a(n) = a(n-3) + 20*n - 30 for n > 2, with a(0)=0, a(1)=3, a(2)=13.
2
0, 3, 13, 30, 53, 83, 120, 163, 213, 270, 333, 403, 480, 563, 653, 750, 853, 963, 1080, 1203, 1333, 1470, 1613, 1763, 1920, 2083, 2253, 2430, 2613, 2803, 3000, 3203, 3413, 3630, 3853, 4083, 4320, 4563, 4813, 5070
OFFSET
0,2
COMMENTS
Main N-S vertical in the pentagonal spiral for A002264:
16
16 10 10
16 9 5 5 10
15 9 4 1 2 5 11
15 9 4 1 0 0 2 6 11
15 8 4 1 0 2 6 11
14 8 3 3 3 6 12
14 8 7 7 7 12
14 13 13 13 12
The main S-N vertical is A194275.
FORMULA
G.f.: x*(1 + x)*(3 + 4*x + 3*x^2) / ((1 - x)^3*(1 + x + x^2)). - Colin Barker, Mar 02 2020
a(n) = a(-n) = 2*a(n-1) - a(n-2) + a(n-3) - 2*a(n-4) + a(n-5).
a(n) = (2/9)*(-1 + 15*n^2 + cos(2*n*Pi/3)). - Stefano Spezia, Mar 02 2020
a(3*n) = 30*n^2.
MATHEMATICA
Table[2/9(-1+15n^2+Cos[2n*Pi/3]), {n, 0, 39}] (* Stefano Spezia, Mar 02 2020 *)
PROG
(PARI) concat(0, Vec(x*(1 + x)*(3 + 4*x + 3*x^2) / ((1 - x)^3*(1 + x + x^2)) + O(x^40))) \\ Colin Barker, Mar 02 2020
CROSSREFS
Cf. A049347.
Sequence in context: A154300 A051805 A352267 * A022264 A288541 A296014
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Mar 01 2020
STATUS
approved