cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A274032 Sum of n-th powers of the roots of x^3 + 9*x^2 - x - 1.

Original entry on oeis.org

3, -9, 83, -753, 6851, -62329, 567059, -5159009, 46935811, -427014249, 3884905043, -35344223825, 321555905219, -2925462465753, 26615373873171, -242142271419073, 2202970354179075, -20042260085157577, 182341168849178195, -1658909809373582257
Offset: 0

Views

Author

Kai Wang, Jun 07 2016

Keywords

Comments

A Berndt-type sequence for tan(2*Pi/7).
a(n) is always an integer.
a(n) is x1^n + x2^n + x3^n, where x1, x2, x3 are the roots of the polynomial
x^3 + 9*x^2 - x - 1.
x1 = tan(Pi/7)/tan(2*Pi/7),
x2 = tan(2*Pi/7)/tan(4*Pi/7),
x3 = tan(4*Pi/7)/tan(Pi/7).
This is a two sided sequence. The other half is A274075. - Kai Wang, Aug 02 2016

Crossrefs

Programs

Formula

a(n) = (tan(Pi/7)/tan(2*Pi/7))^n + (-tan(2*Pi/7)/tan(3*Pi/7))^n + (-tan(3*Pi/7)/tan(Pi/7))^n.
From Colin Barker, Jun 07 2016: (Start)
a(n) = -9*a(n-1)+a(n-2)+a(n-3) for n>2.
G.f.: (3+18*x-x^2) / (1+9*x-x^2-x^3).
(End)

Extensions

Edited by N. J. A. Sloane, Jun 07 2016