OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..2000
FORMULA
a(n) = A017911(3n). - R. J. Mathar, Apr 28 2008
MATHEMATICA
Floor[(Sqrt[8]^Range[0, 40]+1/2)] (* Vincenzo Librandi, Nov 19 2011 *)
PROG
(PARI) a(n)=round(sqrt(8)^n) \\ Charles R Greathouse IV, Nov 18 2011
(Magma) [Round(Sqrt(8)^n): n in [0..40]]; // Vincenzo Librandi, Nov 19 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved