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

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

%S 1,3,8,23,64,181,512,1448,4096,11585,32768,92682,262144,741455,

%T 2097152,5931642,16777216,47453133,134217728,379625062,1073741824,

%U 3037000500,8589934592,24296004000,68719476736

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

%H Vincenzo Librandi, <a href="/A017929/b017929.txt">Table of n, a(n) for n = 0..2000</a>

%F a(n) = A017911(3n). - _R. J. Mathar_, Apr 28 2008

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

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

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

%K nonn

%O 0,2

%A _N. J. A. Sloane_