login
a(n) = (6n + 4)^2.
12

%I #27 Sep 08 2022 08:44:41

%S 16,100,256,484,784,1156,1600,2116,2704,3364,4096,4900,5776,6724,7744,

%T 8836,10000,11236,12544,13924,15376,16900,18496,20164,21904,23716,

%U 25600,27556,29584,31684,33856

%N a(n) = (6n + 4)^2.

%H Vincenzo Librandi, <a href="/A016958/b016958.txt">Table of n, a(n) for n = 0..3000</a>

%H <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,1).

%F a(n) = (A016957(n))^2. - _Zerinvary Lajos_, Jun 30 2009

%F Sum_{n>=0} 1/a(n) = A086730. - _Amiram Eldar_, Nov 17 2020

%t Table[(6*n + 4)^2, {n, 0, 30}] (* _Amiram Eldar_, Nov 17 2020 *)

%o (Magma) [(6*n+4)^2: n in [0..50]]; // _Vincenzo Librandi_, May 06 2011

%o (PARI) a(n)=(6*n+4)^2 \\ _Charles R Greathouse IV_, Jun 17 2017

%Y Cf. A016957, A086730.

%K nonn,easy

%O 0,1

%A _N. J. A. Sloane_

%E Notation in formula cleaned up by _R. J. Mathar_, Aug 05 2010