OFFSET
0,2
COMMENTS
Areas A of two classes of triangles with integer sides (a,b,c) where a = 9k, b=10k and c = 17k, or a = 3k, b = 25k and c = 26k for k=0,1,2,... These areas are given by Heron's formula A = sqrt(s(s-a)(s-b)(s-c)) = (6k)^2, with the semiperimeter s = (a+b+c)/2. This sequence is a subsequence of A188158. - Michel Lagneau, Oct 11 2013
Sequence found by reading the line from 0, in the direction 0, 36, ..., in the square spiral whose vertices are the generalized 20-gonal numbers A218864. - Omar E. Pol, May 13 2018.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..2000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
From Ilya Gutkovskiy, Jun 09 2016: (Start)
O.g.f.: 36*x*(1 + x)/(1 - x)^3.
E.g.f.: 36*x*(1 + x)*exp(x).
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
Sum_{n>=1} 1/a(n) = Pi^2/216 = A086726. (End)
Product_{n>=1} a(n)/A136017(n) = Pi/3. - Fred Daniel Kline, Jun 09 2016
a(n) = t(9*n) - 9*t(n), where t(i) = i*(i+k)/2 for any k. Special case (k=1): a(n) = A000217(9*n) - 9*A000217(n). - Bruno Berselli, Aug 31 2017
a(n) = 36*A000290(n) = 18*A001105(n) = 12*A033428 = 9*A016742(n) = 6*A033581(n) = 4*A016766(n) = 3*A135453(n) = 2*A195321(n). - Omar E. Pol, Jun 07 2018
Sum_{n>=1} (-1)^(n+1)/a(n) = Pi^2/432. - Amiram Eldar, Jun 27 2020
From Amiram Eldar, Jan 25 2021: (Start)
Product_{n>=1} (1 + 1/a(n)) = sinh(Pi/6)/(Pi/6).
Product_{n>=1} (1 - 1/a(n)) = sin(Pi/6)/(Pi/6) = 3/Pi (A089491). (End)
MATHEMATICA
(6*Range[0, 40])^2 (* or *) LinearRecurrence[{3, -3, 1}, {0, 36, 144}, 40] (* Harvey P. Dale, Dec 25 2017 *)
Table[36 n^2, {n, 0, 45}] (* Omar E. Pol, Jun 07 2018 *)
PROG
(Magma) [(6*n)^2: n in [0..40]]; // Vincenzo Librandi, May 03 2011
(PARI) a(n)=36*n^2 \\ Charles R Greathouse IV, Jun 10 2016
CROSSREFS
Cf. similar sequences of the type k*n^2: A000290 (k=1), A001105 (k=2), A033428 (k=3), A016742 (k=4), A033429 (k=5), A033581 (k=6), A033582 (k=7), A139098 (k=8), A016766 (k=9), A033583 (k=10), A033584 (k=11), A135453 (k=12), A152742 (k=13), A144555 (k=14), A064761 (k=15), A016802 (k=16), A244630 (k=17), A195321 (k=18), A244631 (k=19), A195322 (k=20), A064762 (k=21), A195323 (k=22), A244632 (k=23), A195824 (k=24), A016850 (k=25), A244633 (k=26), A244634 (k=27), A064763 (k=28), A244635 (k=29), A244636 (k=30).
KEYWORD
nonn,easy
AUTHOR
STATUS
approved