login
Powers of sqrt(12) rounded to nearest integer.
1

%I #14 Sep 08 2022 08:44:43

%S 1,3,12,42,144,499,1728,5986,20736,71832,248832,861979,2985984,

%T 10343752,35831808,124125024,429981696,1489500288,5159780352,

%U 17874003451,61917364224,214488041413,743008370688

%N Powers of sqrt(12) rounded to nearest integer.

%H Vincenzo Librandi, <a href="/A017941/b017941.txt">Table of n, a(n) for n = 0..1000</a>

%t Floor[(Sqrt[12]^Range[0,40]+1/2)] (* _Vincenzo Librandi_, Nov 19 2011 *)

%o (PARI) a(n)=round(sqrt(12)^n) \\ _Charles R Greathouse IV_, Nov 18 2011

%o (Magma) [Round(Sqrt(12)^n): n in [0..40]]; // _Vincenzo Librandi_, Nov 19 2011

%K nonn

%O 0,2

%A _N. J. A. Sloane_