The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS 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
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
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 20 04:44 EDT 2024. Contains 372703 sequences. (Running on oeis4.)