OFFSET
0,2
LINKS
Peter Cameron, A little problem, May 31 2021.
Volkan Yildiz, Some divisibility properties of Jacobsthal numbers, arXiv:2212.08814 [math.CO], 2022.
FORMULA
a(n) = (A060869(n) + 1)/4. - Hugo Pfoertner, Jun 30 2021
MAPLE
a:= n-> (q-> (q^2-q+1)/3)(2^(2*n+1)):
seq(a(n), n=0..20); # Alois P. Heinz, Jun 30 2021
MATHEMATICA
Table[(2^(4*n + 2) - 2^(2*n + 1) + 1)/3, {n, 0, 19}] (* Amiram Eldar, Jun 30 2021 *)
PROG
(PARI) a(n) = my(q=2^(2*n+1)); (q^2-q+1)/3;
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Jun 30 2021
STATUS
approved