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.

A062882 a(n) = (1 - 2*cos(Pi/9))^n + (1 + 2*cos(Pi*2/9))^n + (1 + 2*cos(Pi*4/9))^n.

Table of values

n a(n)
1 3
2 9
3 18
4 45
5 108
6 270
7 675
8 1701
9 4293
10 10854
11 27459
12 69498
13 175932
14 445419
15 1127763
16 2855493
17 7230222
18 18307377
19 46355652
20 117376290
21 297206739
22 752553261
23 1905530913
24 4824972522
25 12217257783
26 30935180610
27 78330624264

List of values

[3, 9, 18, 45, 108, 270, 675, 1701, 4293, 10854, 27459, 69498, 175932, 445419, 1127763, 2855493, 7230222, 18307377, 46355652, 117376290, 297206739, 752553261, 1905530913, 4824972522, 12217257783, 30935180610, 78330624264]