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.

Previous Showing 51-60 of 84 results. Next

A230075 Period 8: repeat [2, 1, 0, 1, -2, -1, 0, -1].

Original entry on oeis.org

2, 1, 0, 1, -2, -1, 0, -1, 2, 1, 0, 1, -2, -1, 0, -1, 2, 1, 0, 1, -2, -1, 0, -1, 2, 1, 0, 1, -2, -1, 0, -1, 2, 1, 0, 1, -2, -1, 0, -1, 2, 1, 0, 1, -2, -1, 0, -1, 2, 1, 0, 1, -2, -1, 0, -1, 2, 1, 0, 1, -2, -1, 0, -1, 2, 1, 0, 1, -2, -1, 0, -1, 2, 1, 0, 1, -2, -1, 0, -1, 2, 1, 0, 1, -2, -1, 0, -1, 2, 1, 0, 1, -2, -1, 0, -1, 2, 1, 0, 1, -2, -1, 0, -1, 2, 1, 0, 1, -2, -1
Offset: 0

Views

Author

Wolfdieter Lang, Oct 23 2013

Keywords

Comments

This is A118825(n+5), n >= 0. (The g.f. given there is not quite correct, because then a(0) = 0 but it should be 1.)
This sequence a(n), n >= 2, is product(2*cos((2*l+1)*Pi/2), l=0..floor((n-2)/2)). This is the unrestricted product which appears in the formula for C(n, 0) with the minimal polynomial C of rho(n):=2*cos(Pi/n) (see A187360), the length ratio (smallest diagonal)/side in the regular n-gon. The restriction gcd(2*l+1, n) = 1 is ineffective for n = 2^k, k>=1, and for n = odd prime p. Therefore norm(rho(n)) = (-1)^delta(n)*C(n, 0) with delta(n) (see A055034) the degree of C, can be computed from the present sequence for these two cases.

Crossrefs

Programs

Formula

O.g.f.: (2 + x + x^3) / (1 + x^4).
a(n) = 2*(-1)^(n/4) if n == 0 (mod 4); a(n) == 0 if n == 2 (mod 4); a(n) = (-1)^((n-1)/4) if n == 1 (mod 4); a(n) == (-1)^((n-3)/4) if n == 3 (mod 4).
a(n) = Product_{l=0..floor((n-2)/2)} 2*cos((2*l+1)*Pi/2). Proof via the product formulas for the four (mod 4) cases; see the comments for subsequences like A033999, and the product of the zeros of Chebyshev S-polynomials (A049310) from S(n-1, 0) which is known.
a(n) = sqrt((n+2)^2 mod 8)*(-1)^floor(n/4). - Wesley Ivan Hurt, Jan 01 2014
a(n) = (cos(Pi*(2*n+q-r-s)/8)-cos(Pi*(-2*n+q+r-s)/8)+sin(Pi*(-2*n+q-r+s)/8)+3*sin(Pi*(2*n+q+r+s)/8))/2 where q = 1+(-1)^n, r = 2*sin(n*Pi/2) and s = 2*cos(n*Pi/2). - Wesley Ivan Hurt, Oct 06 2018

A232631 Coefficient table for minimal polynomials of s(2*l)^2 = (2*sin(Pi/(2*l)))^2.

Original entry on oeis.org

-4, 1, -2, 1, -1, 1, 2, -4, 1, 1, -3, 1, 1, -4, 1, -1, 6, -5, 1, 2, -16, 20, -8, 1, -1, 9, -6, 1, 1, -12, 19, -8, 1, -1, 15, -35, 28, -9, 1, 1, -16, 20, -8, 1, 1, -21, 70, -84, 45, -11, 1, 1, -24, 86, -104, 53, -12, 1, 1, -24, 26, -9, 1, 2, -64, 336, -672, 660, -352, 104, -16, 1, 1, -36, 210, -462, 495, -286, 91, -15, 1
Offset: 1

Views

Author

Wolfdieter Lang, Dec 18 2013

Keywords

Comments

The length of row l of this table is delta(l) + 1 = A055034(l) + 1, l >= 1, that is: 2, 2, 2, 3, 3, 3, 4, 5, 4, 5, 6, 5, 7, 7, 5, ...
s(n):= 2*sin(Pi/n) is the length ratio side/R of a regular n-gon inscribed in a circle of radius R (in some length units). In general s(n)^2 = 4 - rho(n)^2 with rho(n):= 2*cos(Pi/n), the length ratio (smallest diagonal)/s(n) in the regular n-gon (n>=2). If n is even, say 2*l, l>=1, then s(2*l)^2 = 2 - rho(l) (because rho(2*l)^2 = rho(l) + 2). Therefore s(2*l) is an integer in the algebraic number field Q(rho(l)).
Its (monic) minimal polynomial is obtained from the conjugates of rho(l), called rho(l;j), j = 1, 2, ..., delta(l), which are the zeros of the minimal polynomial of rho(l) = rho(l;1) of degree delta(l) = A055034(l), called C(l, x) in A187360. These conjugates are therefore rho(l;j) = 2*cos(Pi*rpnodd(l,j)/l) where rpnodd(l,j) is the j-th entry of the list rpnodd(l) of the odd numbers < l which are relatively prime to l (for example, rpnodd(9) = [1,5,7], and rpnodd(9,2) = 5). From this the conjugates of s(2*l)^2 become 2 - rho(l;j), and the minimal polynomial of s(2*l)^2 is MPs2(l, x) = product( x - (2- rho(l;j)), j=1..delta(l)) for l >=1. Because the zeros of C(l, x) are integers in the algebraic number field Q(rho(l)) written in its power basis (see table 4 of the link under A187360 to the Q(2 cos(Pi/n)) paper) one finds, after expansion and reducing powers of rho(l) modulo C(l, rho(l)), directly the integer coefficients appropriate for this (monic) minimal polynomial. Only the equation C(l, rho(l)) = 0 is needed, not the trigonometric version of rho(l) and its powers.
This computation was motivated by a preprint of S. Mustonen, P. Haukkanen and J. K. Merikoski, called 'Polynomials associated with squared diagonals of regular polygons', Nov 16 2013.

Examples

			The table a(l,m) begins (n = 2*l):
  n,   l\m    0    1    2     3   4    5  6 ...
  2,   1:    -4    1
  4,   2:    -2    1
  6,   3:    -1    1
  8,   4:     2   -4    1
  10,  5:     1   -3    1
  12,  6:     1   -4    1
  14,  7:    -1    6   -5     1
  16,  8:     2  -16   20    -8   1
  18,  9:    -1    9   -6     1
  20, 10:     1  -12   19    -8   1
  22, 11:    -1   15  -35    28  -9    1
  24, 12:     1  -16   20    -8   1
  26, 13:     1  -21   70   -84  45  -11  1
  28, 14:     1  -24   86  -104  53  -12  1
  30, 15:     1  -24   26    -9   1
  ...
The minimal polynomial of s(10)^2 = (2*sin(Pi/10))^2 = 2 - rho(5) is MPs2(5, x) =  product(x - (2- rho(5;j)), j=1..2) = (x - (2 - phi))*(x - (2 - (1-phi))) with rho(5) = phi the golden section satisfying C(5, phi) = phi^2 - phi -1  = 0, hence MPs2(5, x) = 2 + phi - phi^2 - 3*x + x^2 = 1 - 3*x + x^2.
The row n=26 checks with WolframAlpha's MinimalPolynomial[(2*sin(Pi/26))^2 ,x] = 1-21 x+70 x^2-84 x^3+45 x^4-11 x^5+x^6.
		

Crossrefs

Cf. A232632 (odd n), A232633 (all n), A055034 (degree).

Programs

Formula

a(l,m) = [x^m] MPs2(l, x), l >= 1, m = 0, 1, ...., delta(l), with the minimal polynomial MPs2(l, x) of (2*sin(Pi/(2*l)))^2, given above in a comment. The degree delta(l) = A055034(l).

A228781 Irregular triangle read by rows: coefficients of minimal polynomial of a certain algebraic number S2(2*k+1) from Q(2*cos(Pi/n)) related to the regular (2*k+1)-gon, k >= 1.

Original entry on oeis.org

-3, 1, 5, -10, 1, -7, 35, -21, 1, -3, 27, -33, 1, -11, 165, -462, 330, -55, 1, 13, -286, 1287, -1716, 715, -78, 1, 1, -28, 134, -92, 1, 17, -680, 6188, -19448, 24310, -12376, 2380, -136, 1, -19, 969, -11628, 50388, -92378, 75582, -27132, 3876, -171, 1, 1, -58, 655, -1772, 1423, -186, 1
Offset: 1

Views

Author

Wolfdieter Lang, Oct 01 2013

Keywords

Comments

The row length sequence of this table is delta(2*k+1), with the degree delta(n) = A055034(n) of the algebraic number rho(n):= 2*cos(Pi/n), k >= 1.
The numbers S2(n) have been given in A228780 in the power basis of the degree delta(n) number field Q(rho(n)), with rho(n):= 2*cos(Pi/n), n >= 2. Here the odd n case, n = 2*k + 1 is considered. S2(n) is the square of the sum of the distinct length ratios side/radius or diagonal/radius with the radius of the circle in which a regular n-gon is inscribed. For two formulas for S2(n) in terms of powers of rho(n) see the comment section of A228780.
The minimal (monic) polynomial of S2(2*k+1) has degree delta(2*k+1) and is given by
p(2*k+1,x) = Product_{j=1..delta(2*k+1)} (x - S2(2*k+1)^{(j-1)} (mod C(2*k+1,delta(n))) = sum(a(k, m)*x^m, m = 0..delta(2*k+1)), where S2(2*k+1)^{(0)} = S2(2*k+1) and S2(2*k+1)^{(j-1)} is the (j-1)-th conjugate of S2(2*k+1). The conjugate of a number alpha(n) = Sum_{j=0..(delta(n)-1)} b(n, j)*rho(n)^j in Q(rho(n)) is obtained from the conjugates of rho(n), given in turn by the zeros x(n, j) of the minimal polynomial C(n, x) (see A187360 and the link to the W. Lang Galois paper, tables 2 and 3) as rho(n)^{(j-1)} = x(n, j), j = 1..delta(n), with rho(n)^{(0)} = rho(n).
The motivation to look into this problem originated from emails by Seppo Mustonen, who found experimentally polynomials which had as one zero the square of the total length/radius of all chords (sides and diagonals) in the regular n-gon. See his paper given as a link below. The author thanks Seppo Mustonen for sending his paper.
If the minimal polynomial of the algebraic number S2(n) in the n-gon with n = 2*k+1 is p(n, x) then the minimal polynomial of the square of the sum of the length of all n sides and n*(n-3)/2 diagonals is P(n, x) = n^(2*delta(n))*p(n, x/n^2).

Examples

			The irregular triangle a(k, m) begins:
n   k /m 0     1     2       3      4       5     6    7   8
3   1:  -3     1
5   2:   5   -10     1
7   3:  -7    35   -21       1
9   4:  -3    27   -33       1
11  5: -11   165  -462     330    -55      1
13  6:  13  -286  1287   -1716    715    -78      1
15  7:   1   -28   134     -92      1
17  8:  17  -680  6188  -19448  24310  -12376  2380 -136   1
...
n = 19, L = 9: -19, 969, -11628, 50388, -92378, 75582, -27132, 3876, -171, 1.
n = 21, L = 10: 1, -58, 655, -1772, 1423, -186, 1.
p(5, x) = (x - S2(5))*(x - S2(5)^{(1)}), with S2(5) = 3 + 4*rho(5), where rho(5)=phi, the golden section. C(5, x) = x^2 - x - 1 = (x - rho(5))*(x - (1-rho(5))), hence rho(5)^{(1)} = 1-rho(5), and S2(5)^{(1)} = 3 + 4*(1 - rho(5)) = 7 - 4*rho(5). Thus p(5, x) = -16*rho^2 + 21 + 16*rho -10*x + x^2 which becomes modulo C(5,rho(5)), i.e., using rho(5)^2 = rho(5) + 1, finally p(n, 5) = 5 - 10*x + x^2.
Conjecture (_Seppo Mustonen_): p(5, x) = binomial(5, 1) - binomial(5, 3)*x + binomial(5, 5)* x^2 = 5 - 10*x + x^2.
		

Crossrefs

Cf. A055034, A187360, A228780, A228782 (even case).

Formula

a(k, m) = [x^m] p(2*k+1, x), with the minimal polynomial p(2*k+1, x) of S2(2*k+1) given in the power basis in A228780. p(2*k+1, x) is given in a comment above in terms of the S2(2*k+1) and its conjugates S2(2*k+1)^{(j-1)}, j=2, ..., delta(2*k+1), where delta(n) = A055034(n).
Conjecture from Seppo Mustonen, rewritten for the p(n, x) coefficients for odd primes: p(prime(j), x) = Sum_{i=0..imax(j)} (-1)^(imax(j - i))* binomial(prime(j), 2*i+1)*x^i, with imax(j) = (prime(j)-1)/2. See the adapted eq. (5) of the S. Mustonen paper.

A228788 Decimal expansion of the algebraic integer 2*cos(Pi/34) of degree 16 = A055034(34) (over the rationals), the length ratio (smallest diagonal)/side of a regular 34-gon.

Original entry on oeis.org

1, 9, 9, 1, 4, 6, 8, 3, 5, 2, 5, 9, 0, 0, 6, 9, 0, 4, 3, 7, 4, 2, 3, 8, 2, 3, 5, 7, 8, 1, 0, 9, 6, 3, 5, 6, 7, 8, 0, 5, 4, 4, 9, 2, 3, 5, 2, 3, 2, 5, 9, 8, 3, 9, 6, 7, 4, 3, 8, 0, 6, 0, 3, 2, 6, 1, 7, 4, 1, 4, 3, 1, 8, 8, 3, 5, 7, 0, 6, 8, 1, 6, 0, 7, 5, 0, 9, 6, 8, 4, 9, 4, 7, 4, 0, 2, 5, 9, 6, 8, 3, 4, 0, 9
Offset: 1

Views

Author

Wolfdieter Lang, Oct 07 2013

Keywords

Comments

rho(34):= 2*cos(Pi/34) is used in the algebraic number field Q(rho(34)) of degree 16 (see A187360) in which s(17) = 2*cos(Pi/17) (for its decimal expansion see A228787), the length ratio side/R of a regular 17-gon inscribed in a circle of radius R, is an integer. See A228787 for this expansion.
Gauss' formula for cos(2*Pi/17), given in A210644, can be inserted into rho(34) = sqrt(2+sqrt(2+2*cos(2*Pi/17))).
The minimal polynomial of rho(34) is 17 - 204*x^2 + 714*x^4 - 1122*x^6 + 935*x^8 - 442*x^10 + 119*x^12 - 17*x^14 + x^16 (row n=34 polynomial of A187360).
The continued fraction expansion starts with 1; 1, 116, 4, 1, 2, 1, 20, 2, 2, 1, 7, 10, 2, 2, 1, 3, 6, 1, 4, 4, 15, ...

Crossrefs

Programs

Formula

2*cos(Pi/34) = 1.99146835259006904374238235781096...

A230079 Table a(n,m) of coefficients of inverses of rho(A230078(n)), n>=2, with rho(k):= 2*cos(Pi/k), in the power basis of Q(rho(A230078(n))).

Original entry on oeis.org

1, -1, 1, 2, 1, -1, -3, 0, 1, 3, 3, -4, -1, 1, 0, 4, 0, -1, -3, 6, 4, -5, -1, 1, 4, 4, -1, -1, -4, 10, 10, -15, -6, 7, 1, -1, 5, 10, -20, -15, 21, 7, -8, -1, 1, 0, 12, 0, -19, 0, 8, 0, -1, -8, -8, 6, 6, -1, -1, 6, 15, -35, -35, 56, 28, -36, -9, 10, 1, -1
Offset: 2

Views

Author

Wolfdieter Lang, Nov 02 2013

Keywords

Comments

The length of row n is delta(A230078(n)), n>=2, with delta(k) = A055034(k).
The power base of the algebraic number field Q(rho(k)), with rho(k):= 2*cos(Pi/k), k >= 2, is <1, rho(k), rho(k)^2, ..., rho(k)^(delta(k)-1)>. Q(rho(k))-integers have integer coefficients in this basis. A230078(n), n >= 2, gives precisely the numbers k for which the inverse 1/rho(k) is a Q(rho(k))-integer. The present table a(n,m) lists these integer coefficients for 1/rho(A230078(n)), n >= 2, m = 0, 1, ..., delta(A230078(n))-1. delta(k) is the degree of the minimal polynomial C(k, x) of rho(k) (see A187360).
In general, 1/rho(k) = -(sum(c(k, m+1)*rho(k)^m, m=0..delta(k)-1))/c(k, 0), k >= 2, with the coefficients c(k ,m) of the minimal polynomial C(k, x) given in A187360(k, m). c(k ,0) = C(k, x=0) is +1 or -1 if and only if k is from {A230078(n), n>=2}, leading to a Q(rho(k))-integer.

Examples

			The table a(n,m) begins, with b(n):=A230078(n):
n, b(n)\m 0  1     2    3   4   5    6   7   8  9  10 ...
2,   3:   1
3,   5:  -1   1
4,   7:   2   1   -1
5,   9:  -3   0    1
6,  11:   3   3   -4   -1   1
7,  12:   0   4    0   -1
8,  13:  -3   6    4   -5  -1   1
9,  15:   4   4   -1   -1
10, 17:  -4  10   10  -15  -6   7    1  -1
11, 19:   5  10  -20  -15  21   7   -8  -1   1
12, 20:   0  12    0  -19   0   8    0  -1
13, 21:  -8  -8    6    6  -1  -1
14, 23:   6  15  -35  -35  56  28  -36  -9  10  1  -1
15, 24:   0  16    0  -20   0   8    0  -1
...
n=2: C(3, x) = x - 1, delta(3) =1, 1/rho(3) = 1, a rational integer.
n=3: C(5, x) =x^2 - x -1, delta(5) = 2,  a(3,0) = - c(5, 1)/c(5, 0) = -(-1)/(-1) = -1, a(3,1) = - c(5, 2)/c(5, 0) = -1/(-1) = +1.
n =3: rho(5) = tau := (1 + sqrt(5))/2 (golden section); 1/rho(5) = -1*1 + 1*rho(5).
n= 4: rho(7) = 2*cos(Pi/7), (approximately 1.801937736); 1/rho(7) = 2*1 + 1*rho(7)  - 1*rho(7)^2, (approximately 0.5549581320).
n=10: rho(17) = 2*cos(Pi/17), (approximately 1.965946199); 1/rho(17) = -4*1 + 10*rho(17)  + 10*rho(17)^2  - 15*rho(17)^3  - 6*rho(17)^4 + 7*rho(17)^5 + 1*rho(17)^6  -1*rho(17)^7, (approximately 0.5086609190).
		

Crossrefs

Formula

a(n,m) = -c(b(n), m+1)/c(b(n), 0), with b(n) := A230078(n), for n>=2 and m= 0, 1, ... , delta(b(n)) -1, with delta(k) = A055034(k), and c(k, m) = A187360(k, m) (see a comment above on the minimal C polynomials).

A231186 Decimal expansion of the ratio (longest diagonal)/side in a regular 11-gon (or hendecagon).

Original entry on oeis.org

3, 5, 1, 3, 3, 3, 7, 0, 9, 1, 6, 6, 6, 1, 3, 5, 1, 8, 8, 7, 8, 2, 1, 7, 1, 5, 9, 6, 2, 9, 7, 9, 8, 1, 8, 4, 2, 0, 7, 4, 5, 9, 4, 8, 1, 7, 7, 7, 0, 1, 4, 9, 4, 2, 2, 1, 3, 7, 7, 4, 6, 9, 0, 0, 1, 2, 0, 1, 8, 1, 7, 7, 5, 6, 9, 3, 0, 3, 0, 5, 2, 5, 9, 2, 8, 9, 1, 5, 3, 2, 9, 1, 7, 1, 4, 9, 9, 3, 7, 0, 0, 1, 6
Offset: 1

Views

Author

Wolfdieter Lang, Nov 20 2013

Keywords

Comments

omega(11):= S(4, x) = 1 - 3*x^2 + x^4 with x = rho(11) := 2*cos(Pi/11). See A049310 for Chebyshev s-polynomials. rho(11) is the ratio (shortest diagonal)/side in a regular 11-gon. See the Q(2*cos(Pi/n)) link given in A187360. This is the power basis representation of omega(11) in the algebraic number field Q(2*cos(Pi/11)) of degree 5.
omega(11) = 1/(2*cos(Pi*5/11)) = 1/R(5, rho(11)) with the R-polynomial given in A127672. This follows from a computation of the power basis coefficients of the reciprocal of R(5, x) (mod C(11, x)) = 1+2*x-3*x^2-x^3+x^4, where C(11, x) is the minimal polynomial of rho(11) given in A187360. The result for this reciprocal (mod C(11, x)) is 1 - 3*x^2 + x^4 giving the power base coefficients [1,0,-3,0,1] for omega(11).
omega(11) is the analog in the regular 11-gon of the golden section in the regular 5-gon (pentagon), because it is the limit of a(n+1)/a(n) for n -> infinity of sequences like A038342, A069006, A230080 and A230081.
The ratio diagonal/side of the second and third shortest diagonals in a regular 11-gon are respectively x^2 - 1 and x^3 - 2*x, where x = 2*cos(Pi/11). - Mohammed Yaseen, Nov 03 2020

Examples

			3.51333709166613518878217159629798184207459481777014...
		

Crossrefs

Programs

  • Mathematica
    RealDigits[Sin[5*Pi/11]/Sin[Pi/11], 10, 120][[1]] (* Amiram Eldar, Jun 01 2023 *)

Formula

omega(11) = 1 - 3*x^2 + x^4 with x = rho(11) := 2*cos(Pi/11) = 1/(2*cos(Pi*5/11)) = 3.5133370916661... See the comments above.
Equals sin(5*Pi/11)/sin(Pi/11). - Mohammed Yaseen, Nov 03 2020

A232632 Coefficient table for the minimal polynomials of s(2*l+1)^2 = (2*sin(Pi/(2*l+1)))^2.

Original entry on oeis.org

0, 1, -3, 1, 5, -5, 1, -7, 14, -7, 1, -3, 9, -6, 1, -11, 55, -77, 44, -11, 1, 13, -91, 182, -156, 65, -13, 1, 1, -8, 14, -7, 1, 17, -204, 714, -1122, 935, -442, 119, -17, 1, -19, 285, -1254, 2508, -2717, 1729, -665, 152, -19, 1, 1, -16, 60, -78, 44, -11, 1, -23, 506, -3289, 9867, -16445, 16744, -10948, 4692, -1311, 230, -23, 1
Offset: 0

Views

Author

Wolfdieter Lang, Dec 18 2013

Keywords

Comments

The length of row l is delta(2*l+1) + 1 = A055034(2*l+1) + 1, l >= 0.
See the comments on A232631 (even n case) for s(n) = 2*sin(Pi/n) and the minimal polynomial of s(n)^2. Here n = 2*l+1 and s(2*l+1)^2 = 4 - rho(2*l+1)^2 is an integer in the algebraic number field Q(rho(2*l+1)). The minimal polynomial of s(2*l+1)^2 is then MPs2(2*l+1, x) = product(x - 2*(1 + cos(Pi*rpnodd(2*l+1,j)/(2*l+1))), j=1..delta(2*l+1)), l >= 0, where rpnodd(2*l+1) is the list of positive odd numbers < 2*l+1 and relatively prime to 2*l+1. rpnodd(2*l+1,j) is the j-th member of this increasingly ordered list. Here the identity 4 - (2*cos(Pi*(2*k+1)/(2*l+1)))^2 = 2*(1 - cos(Pi*2*(2*k+1)/(2*l+1))) = 2*(1 - (- cos(Pi*(2*l+1 - 2*(2*k+1))/ (2*l+1)))) has been used, and for 2*k+1 < 2*l+1 and gcd(2*k+1, 2*l+1) = 1 this becomes the product given above because 1 = gcd(-(2*k+1), 2*l+1) = gcd(-2*(2*k+1), 2*l+1) = gcd(2*l+1, -2*(2*k+1) + (2*l+1)).
This computation was motivated by a preprint of S. Mustonen, P. Haukkanen and J. K. Merikoski, called ``Polynomials associated with squared diagonals of regular polygons'', Nov 16 2013.

Examples

			The table a(l,m) begins (n = 2*l+1):
------------------------------------------------------------------------------------------------------
n,   l\m     0      1      2       3        4       5        6       7     8      9    10  11 ...
1,   0:      0      1
3,   1:     -3      1
5,   2:      5     -5      1
7,   3:     -7     14     -7       1
9,   4:     -3      9     -6       1
11,  5:    -11     55    -77      44      -11       1
13,  6:     13    -91    182    -156       65     -13        1
15,  7:      1     -8     14      -7        1
17,  8:     17   -204    714   -1122      935    -442      119     -17      1
19,  9:    -19    285  -1254    2508    -2717    1729     -665     152    -19     1
21, 10:      1    -16     60     -78       44     -11        1
23, 11:    -23    506  -3289    9867   -16445   16744   -10948    4692  -1311   230   -23   1
25, 12:      5   -125    875   -2675     4300   -4005     2275    -800    170   -20     1
27, 13:     -3     81   -540    1386    -1782    1287     -546     135    -18     1
....
n=29, l=14:  29,-1015,10556,-51272,140998,-243542,281010,-224808,127281,-51359,14674, -2900,377,-29,1.
n=31, l=15: -31, 1240, -14756, 82212, -260338, 520676, -700910, 660858, -447051, 219604, -78430, 20150, -3627, 434, -31, 1.
...
The minimal polynomial of s(5)^2 = (2*sin(Pi/5))^2 = 4 - rho(5)^2
= 2*(1 - cos(Pi*2/5)) = 2*(1 + cos(Pi*3/5)),  approx. 1.381966, is MPs2(5, x) =  product(x - 2*(1 + cos(Pi*rpnodd(5,j)/5)), j=1..2) = (x - 2*(1 + cos(Pi/5))*(x - 2*(1 + cos(Pi*3/5)) = (x - (2 + phi)*(x - (2 + 1 - phi)) = x^2 - 5*x + (6 + phi - phi^2) = x^2 - 5*x +5, where phi = rho(5) is the golden section.
The row n=17 checks with WolframAlpha's MinimalPolynomial[(2*sin(Pi/17))^2 ,x] = 17-204 x+714 x^2-1122 x^3+935 x^4-442 x^5+119 x^6-17 x^7+x^8.
		

Crossrefs

Cf. A232631 (even n), A232633 (all n), A055034.

Programs

Formula

a(l,m) = [x^m] MPs2(2*l+1, x), l >= 1, m = 0, 1, ...., delta(l), with the minimal polynomial MPs2(l, x) of (2*sin(Pi/(2*l+1)))^2, explained above in a comment.

A306603 a(n) = (2 cos(Pi/15))^n + (2 cos(7 Pi/15))^n + (2 cos(11 Pi/15))^n + (2 cos(13 Pi/15))^n.

Original entry on oeis.org

4, -1, 9, -1, 29, 4, 99, 34, 349, 179, 1254, 824, 4559, 3574, 16704, 15004, 61549, 61709, 227799, 250229, 846254, 1004149, 3153984, 3997399, 11788879, 15812504, 44178624, 62229509, 165946124, 243873904, 624650004, 952400599, 2355748909, 3708579599
Offset: 0

Views

Author

Greg Dresden, Feb 27 2019

Keywords

Comments

a(n) is obtained from the Girard-Waring formula for the sum of powers of N = 4 indeterminates (see A324602), with the elementary symmetric functions e_1 = -1, e_2 = -4, e_3 = -4 and e_4 = 1. The arguments are e_j(x_1, x_2, x_3, x_4), for j = 1..4, with the zeros {x_i}A187360,%20for%20n%20=%2015),%20appearing%20to%20the%20power%20n%20in%20the%20formula%20given%20above.%20-%20_Wolfdieter%20Lang">{i=1..4} of the minimal polynomial of 2*cos(Pi/15) (see A187360, for n = 15), appearing to the power n in the formula given above. - _Wolfdieter Lang, May 08 2019

Crossrefs

Cf. A019887 (cos(Pi/15)), A019815 (cos(7*Pi/15)), A019851 (cos(11*Pi/15)), A019875 (cos(13*Pi/15)), A187360, A324602.

Programs

  • Mathematica
    Table[Sum[(2.0 Cos[k Pi/15])^n, {k, {1, 7, 11, 13}}] // Round, {n, 1, 30}]
    LinearRecurrence[{-1,4,4,-1},{4,-1,9,-1},40] (* Harvey P. Dale, Jun 02 2024 *)

Formula

G.f.: (4*x^3+8*x^2-3*x-4)/(-x^4+4*x^3+4*x^2-x-1). - Alois P. Heinz, Feb 27 2019
a(n) = -a(n-1) + 4*a(n-2) + 4*a(n-3) -a(n-4). - Greg Dresden, Feb 27 2019

A186297 a(n) = (A007520(n)-1)/2.

Original entry on oeis.org

1, 5, 9, 21, 29, 33, 41, 53, 65, 69, 81, 89, 105, 113, 125, 141, 153, 165, 173, 189, 209, 221, 233, 245, 249, 261, 273, 281, 285, 293, 309, 321, 329, 341, 345, 369, 393, 405, 413, 429, 441, 453, 473, 485, 509, 525, 545, 561, 581, 585, 593
Offset: 1

Views

Author

Marco Matosic, Feb 17 2011

Keywords

Comments

a(n) = A055034(A007520(n)), n >= 1. This is the degree of the minimal polynomial C(A007520(n) ,x) of 2*cos(Pi/A007520(n)) (see A187360). a(n) is of course congruent 1 (mod 4). - Wolfdieter Lang, Oct 24 2013

Crossrefs

Formula

a(n) = A186296(n)-1.

A207333 Allowed values of degrees of minimal polynomials of 2*cos(Pi/N).

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 14, 15, 16, 18, 20, 21, 22, 23, 24, 26, 28, 29, 30, 32, 33, 35, 36, 39, 27, 40, 41, 42, 44, 46, 48, 50, 51, 52, 53, 54, 56, 58, 55, 60, 63, 64, 65, 66, 68, 69, 70, 72, 74, 75, 78, 81, 80, 82, 83, 84, 86, 88, 89, 90, 92, 95
Offset: 1

Views

Author

Wolfdieter Lang, Feb 19 2012

Keywords

Comments

The coefficients of the minimal polynomials C(N,x) of the algebraic number 2*cos(Pi/N) are given in A187360, where N is n.
The degree of C(N,x) is delta(N) = 1 if N=1 and delta(N) = phi(2*N)/2 if N > 1, with Euler's totient function phi(n) = A000010(n).
The forbidden degree values are shown in the complement (relative to the positive integers) A079695.
The array of the values N (the indices) for which the degree delta(N) = a(n), n >= 1, is given in A207334.

Examples

			a(8) = 9 because there is at least one polynomial C(N,x) with degree delta(N)=9. In fact the only N values are 19 and 27.
7 is no member of this sequence (it belongs to the complement A079695).
		

Crossrefs

Cf. A079695 (complement), A207334 (array of indices of C polynomials with degree a(n)).

Formula

a(n) gives the allowed degree values, called delta, of the minimal polynomials C ordered increasingly, For C and delta see the comment section.
Previous Showing 51-60 of 84 results. Next