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.

A274220 a(n) = (-cos(Pi/7)/cos(2*Pi/7))^n + (-cos(2*Pi/7)/cos(3*Pi/7))^n + (cos(3*Pi/7)/cos(Pi/7))^n.

Table of values

n a(n)
0 3
1 -4
2 10
3 -25
4 66
5 -179
6 493
7 -1369
8 3818
9 -10672
10 29865
11 -83626
12 234237
13 -656205
14 1838483
15 -5151080
16 14432666
17 -40438941
18 113306686
19 -317477255
20 889550021
21 -2492461633
22 6983719214
23 -19567941936
24 54828148469
25 -153625048854
26 430447808073
27 -1206087937261
28 3379383275971
29 -9468821484028

List of values

[3, -4, 10, -25, 66, -179, 493, -1369, 3818, -10672, 29865, -83626, 234237, -656205, 1838483, -5151080, 14432666, -40438941, 113306686, -317477255, 889550021, -2492461633, 6983719214, -19567941936, 54828148469, -153625048854, 430447808073, -1206087937261, 3379383275971, -9468821484028]