|
|
A123203
|
|
A007318 * [1, 1, 4, 4, 4, ...].
|
|
9
|
|
|
1, 2, 7, 20, 49, 110, 235, 488, 997, 2018, 4063, 8156, 16345, 32726, 65491, 131024, 262093, 524234, 1048519, 2097092, 4194241, 8388542, 16777147, 33554360, 67108789, 134217650, 268435375, 536870828, 1073741737, 2147483558
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
An elephant sequence, see A175654. For the corner squares just one A[5] vector, with decimal value 186, leads to this sequence. For the central square this vector leads to the companion sequence A036563. - Johannes W. Meijer, Aug 15 2010
|
|
LINKS
|
|
|
FORMULA
|
Binomial transform of [1, 1, 4, 4, 4, ...]. Row sums of triangle A131061.
a(n) = 2^(1+n) - 3*n.
(End)
G.f.: x*(1 - 2*x + 4*x^2)/((1-x)^2*(1-2*x)). - Colin Barker, Jul 28 2012
a(n) = 4*a(n-1) - 5*a(n-2) + 2*a(n-3). - Colin Barker, Jul 29 2012
|
|
EXAMPLE
|
a(4) = 20, row sums of 4th row of triangle A131062: (1, 9, 9, 1).
a(4) = 20 = (1, 3, 3, 1) dot (1, 1, 4, 4) = (1 + 3 + 12 + 4).
|
|
MATHEMATICA
|
LinearRecurrence[{4, -5, 2}, {1, 2, 7}, 40] (* Harvey P. Dale, Mar 30 2024 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|