%I #125 Feb 27 2024 03:04:58
%S 0,8,32,72,128,200,288,392,512,648,800,968,1152,1352,1568,1800,2048,
%T 2312,2592,2888,3200,3528,3872,4232,4608,5000,5408,5832,6272,6728,
%U 7200,7688,8192,8712,9248,9800,10368,10952,11552,12168,12800
%N a(n) = 8*n^2.
%C Opposite numbers to the centered 16-gonal numbers (A069129) in the square spiral whose vertices are the triangular numbers (A000217).
%C 8 times the squares. - _Omar E. Pol_, Dec 09 2008
%C a(n-1) is the molecular topological index of the n-wheel graph W_n. - _Eric W. Weisstein_, Jul 11 2011
%C An n X n pandiagonal magic square has a(n) orientations. - _Kausthub Gudipati_, Sep 15 2011
%C Area of a square with diagonal 4n. - _Wesley Ivan Hurt_, Jun 19 2014
%C Sum of all the parts in the partitions of 4n into exactly two parts. - _Wesley Ivan Hurt_, Jul 23 2014
%C Equivalently: integers k such that k$ / (k/2-1)! and k$ / (k/2)! are both squares when A000178 (k) = k$ = 1!*2!*...*k! is the superfactorial of k (see A348692 for further information). - _Bernard Schott_, Dec 02 2021
%H Vincenzo Librandi, <a href="/A139098/b139098.txt">Table of n, a(n) for n = 0..800</a>
%H Omar E. Pol, <a href="http://www.polprimos.com">Determinacion geometrica de los numeros primos y perfectos</a>.
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/MolecularTopologicalIndex.html">Molecular Topological Index</a>.
%H <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,1).
%F a(n) = 8*A000290(n) = 4*A001105(n) = 2*A016742(n). - _Omar E. Pol_, Dec 13 2008
%F G.f.: -8*x*(1+x) / (x-1)^3. - _R. J. Mathar_, Nov 27 2015
%F From _Amiram Eldar_, Feb 03 2021: (Start)
%F Sum_{n>=1} 1/a(n) = Pi^2/48 (A245058).
%F Sum_{n>=1} (-1)^(n+1)/a(n) = Pi^2/96.
%F Product_{n>=1} (1 + 1/a(n)) = sqrt(8)*sinh(Pi/sqrt(8))/Pi.
%F Product_{n>=1} (1 - 1/a(n)) = sqrt(8)*sin(Pi/sqrt(8))/Pi. (End)
%F a(n) = 3*a(n-1)-3*a(n-2)+a(n-3). - _Wesley Ivan Hurt_, Dec 03 2021
%p A139098:=n->8*n^2; seq(A139098(n), n=0..50); # _Wesley Ivan Hurt_, Jun 19 2014
%t 8 Range[0, 50]^2 (* _Wesley Ivan Hurt_, Jun 19 2014 *)
%t LinearRecurrence[{3,-3,1},{0,8,32},50] (* _Harvey P. Dale_, Oct 05 2023 *)
%o (Magma) [8*n^2: n in [0..50]]; // _Vincenzo Librandi_, Apr 26 2011
%o (PARI) a(n)=8*n^2 \\ _Charles R Greathouse IV_, Jun 17 2017
%Y Cf. A000217, A000290, A016766, A033582, A069129, A001105, A016742, A245058.
%Y Cf. A348692.
%Y Subsequence of A008586 and of A349081.
%K nonn,easy
%O 0,2
%A _Omar E. Pol_, Apr 25 2008