OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = A022838(2^(n-1)). - R. J. Mathar, Oct 22 2011
MATHEMATICA
Table[Floor[Sqrt[3] 2^(n-1)], {n, 40}] (* Vincenzo Librandi, Sep 20 2017 *)
PROG
(Magma) [Floor(2^(n-1)*Sqrt(3)): n in [1..40]]; // Vincenzo Librandi, Sep 20 2017
(PARI) a(n) = floor(sqrt(3)*2^(n-1)); \\ Michel Marcus, Sep 20 2017
(Python)
from math import isqrt
def A094386(n): return isqrt(3*(1<<(n-1<<1))) # Chai Wah Wu, Jul 28 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Jun 03 2004
STATUS
approved