login
A164683
a(n) = 8*a(n-2) for n > 2; a(1) = 1, a(2) = 8.
5
1, 8, 8, 64, 64, 512, 512, 4096, 4096, 32768, 32768, 262144, 262144, 2097152, 2097152, 16777216, 16777216, 134217728, 134217728, 1073741824, 1073741824, 8589934592, 8589934592, 68719476736, 68719476736, 549755813888
OFFSET
1,2
COMMENTS
Interleaving of A001018 and A001018 without initial term 1.
Binomial transform is A083100. Second binomial transform is A164607.
FORMULA
a(n) = 2^(1/4*(6*n-3+3*(-1)^n)).
G.f.: x*(1+8*x)/(1-8*x^2).
MATHEMATICA
With[{c=8^Range[0, 15]}, Riffle[c, c]]//Rest (* Harvey P. Dale, Aug 08 2017 *)
PROG
(Magma) [ n le 2 select 7*n-6 else 8*Self(n-2): n in [1..26] ];
CROSSREFS
Cf. A001018 (powers of 8), A083100, A164607.
Sequence in context: A151782 A165829 A358714 * A222957 A038286 A245133
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, Aug 22 2009
STATUS
approved