login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A152065 A triangular sequence of polynomial coefficients: p(x,n)=If[n == 0, x^n - x^Floor[(n - 1)/2]*Sum[x^m, {m, 0, n - Floor[(n - 1)/2] - 1}] + 1/x, x^n - x^Floor[(n - 1)/2]*Sum[x^m, {m, 0, n - Floor[(n - 1)/2] - 1}] + 1]. 0
1, 0, 1, 0, -1, 1, 1, -1, -1, 1, 1, -1, -1, -1, 1, 1, 0, -1, -1, -1, 1, 1, 0, -1, -1, -1, -1, 1, 1, 0, 0, -1, -1, -1, -1, 1, 1, 0, 0, -1, -1, -1, -1, -1, 1, 1, 0, 0, 0, -1, -1, -1, -1, -1, 1, 1, 0, 0, 0, -1, -1, -1, -1, -1, -1, 1 (list; table; graph; refs; listen; history; internal format)
OFFSET

0,1

COMMENTS

These polynomials gives odd Salem polynomials starting with n=7. The row sums are: {1, 1, 0, 0, -1, -1, -2, -2, -3, -3, -4,...} Example: 1 - x^9 - x^10 - x^11 - x^12 - x^13 - x^14 - x^15 - x^16 - x^17 -x^18 + x^19; with absolute value roots: {1., 0.957624, 0.957624, 0.997081, 0.997081, 0.962514, 0.962514, 0.98743, 0.98743, 0.972887, 0.972887, 0.96672, 0.96672, 0.989308, 0.989308, 0.915352, 0.915352, 0.837413, 1.99902}.

FORMULA

p(x,n)=If[n == 0, x^n - x^Floor[(n - 1)/2]*Sum[x^m, {m, 0, n - Floor[(n - 1)/2] - 1}] + 1/x, x^n - x^Floor[(n - 1)/2]*Sum[x^m, {m, 0, n - Floor[(n - 1)/2] - 1}] + 1]; t(n,m/)=coefficients(p(x,n)).

EXAMPLE

{1}, {0, 1}, {0, -1, 1}, {1, -1, -1, 1}, {1, -1, -1, -1, 1}, {1,0, -1, -1, -1, 1}, {1, 0, -1, -1, -1, -1, 1}, {1, 0, 0, -1, -1, -1, -1, 1}, {1, 0, 0, -1, -1, -1, -1, -1, 1}, {1, 0, 0, 0, -1, -1, -1, -1, -1, 1}, {1, 0, 0, 0, -1, -1, -1, -1, -1, -1, 1}

MATHEMATICA

Clear[p, x, n, a, m]; p[x_, n_] = If[n == 0, x^n - x^Floor[(n - 1)/2]*Sum[x^m, {m, 0, n -Floor[(n - 1)/2] - 1}] + 1/x, x^n - x^Floor[(n - 1)/2]*Sum[x^m, {m, 0, n - Floor[(n - 1)/2] - 1}] + 1]; Table[ExpandAll[p[x, n]], {n, 0, 10}]; a = Table[CoefficientList[ExpandAll[p[x, n]], x], {n, 0, 10}]; Flatten[a]

CROSSREFS

Sequence in context: A054354 A156728 A074332 * A113428 A133101 A185295

Adjacent sequences:  A152062 A152063 A152064 * A152066 A152067 A152068

KEYWORD

tabl,sign

AUTHOR

Roger L. Bagula (rlbagulatftn(AT)yahoo.com), Nov 23 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 20:38 EST 2012. Contains 205663 sequences.