OFFSET
0,1
COMMENTS
FORMULA
a(n) = (b(n)^2 + 2)/3^n, n >= 0, with b(n) = A268924(n).
EXAMPLE
a(0) = (0^2 + 2)/1 = 2.
a(4) = (22^2 + 2)/3^4 = 6.
PROG
(PARI) b(n) = 3^n - truncate(sqrt(-2+O(3^(n))));
a(n) = (b(n)^2 + 2)/3^n; \\ Michel Marcus, Apr 09 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Apr 05 2016
STATUS
approved