|
|
A036562
|
|
a(n) = 4^(n+1) + 3*2^n + 1.
|
|
16
|
|
|
1, 8, 23, 77, 281, 1073, 4193, 16577, 65921, 262913, 1050113, 4197377, 16783361, 67121153, 268460033, 1073790977, 4295065601, 17180065793, 68719869953, 274878693377, 1099513200641, 4398049656833, 17592192335873, 70368756760577
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
-1,2
|
|
LINKS
|
|
|
FORMULA
|
a(n) = (1/2)*(A028401(n+4) + 1) for n > -1.
G.f.: (1+x-19*x^2+20*x^3)/(x*(1-x)*(1-2*x)*(1-4*x)). - Colin Barker, Mar 09 2012
|
|
MATHEMATICA
|
CoefficientList[Series[x*(1+x-19*x^2+20*x^3)/(x*(1-x)*(1-2*x)*(1-4*x)), {x, 0, 30}], x] (* Vincenzo Librandi, Apr 24 2012 *)
|
|
PROG
|
(Python)
def a(n): return 1 if n == -1 else (pow(4, n+1)+3*pow(2, n)+1)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|