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.

A057682 a(n) = Sum_{j=0..floor(n/3)} (-1)^j*binomial(n,3*j+1).

Table of values

n a(n)
0 0
1 1
2 2
3 3
4 3
5 0
6 -9
7 -27
8 -54
9 -81
10 -81
11 0
12 243
13 729
14 1458
15 2187
16 2187
17 0
18 -6561
19 -19683
20 -39366
21 -59049
22 -59049
23 0
24 177147
25 531441
26 1062882
27 1594323
28 1594323
29 0
30 -4782969
31 -14348907
32 -28697814
33 -43046721
34 -43046721
35 0
36 129140163
37 387420489
38 774840978

List of values

[0, 1, 2, 3, 3, 0, -9, -27, -54, -81, -81, 0, 243, 729, 1458, 2187, 2187, 0, -6561, -19683, -39366, -59049, -59049, 0, 177147, 531441, 1062882, 1594323, 1594323, 0, -4782969, -14348907, -28697814, -43046721, -43046721, 0, 129140163, 387420489, 774840978]