login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A152860 Scaled row sum zero vector recursion:s=3; v(n)={s^(n+1),s^(n+1)-Sum[s^i,{i,2,n}],s^n,...,-1}. 0
1, 1, -1, 3, -2, -1, 9, -5, -3, -1, 27, -14, -9, -3, -1, 81, -41, -27, -9, -3, -1, 243, -122, -81, -27, -9, -3, -1, 729, -365, -243, -81, -27, -9, -3, -1, 2187, -1094, -729, -243, -81, -27, -9, -3, -1, 6561, -3281, -2187, -729, -243, -81, -27, -9, -3, -1, 19683 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

LINKS

Table of n, a(n) for n=0..55.

FORMULA

s = 3; v(n) = {s^(n+1),s^(n+1)-Sum[s^i,{i,2,n}],s^n,...,-1}.

EXAMPLE

{1},

{1, -1},

{3, -2, -1},

{9, -5, -3, -1},

{27, -14, -9, -3, -1},

{81, -41, -27, -9, -3, -1},

{243, -122, -81, -27, -9, -3, -1},

{729, -365, -243, -81, -27, -9, -3, -1},

{2187, -1094, -729, -243, -81, -27, -9, -3, -1},

{6561, -3281, -2187, -729, -243, -81, -27, -9, -3, -1},

{19683, -9842, -6561, -2187, -729, -243, -81, -27, -9, -3, -1}

MATHEMATICA

Clear[s, b, n]; s = 3; b[0] = {1}; b[1] = {1, -1};

b[n_] := Join[{s^(n + 1)}, -{s^(n + 1) - Sum[s^i, {i, n, 2, -1}]}, -Table[s^i, {i, n, 2, -1}]]/9;

Table[b[n], {n, 0, 10}];

Flatten[%]

CROSSREFS

Sequence in context: A183154 A193791 A160760 * A002350 A109267 A185416

Adjacent sequences:  A152857 A152858 A152859 * A152861 A152862 A152863

KEYWORD

sign

AUTHOR

Roger L. Bagula, Dec 14 2008

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 20 00:16 EDT 2021. Contains 345154 sequences. (Running on oeis4.)