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.

A157654 Triangle T(n, k, m) = 1 if k = 0 or k = n, otherwise m*abs( (n-k)^(m-1) - k^(m-1) ), with m = 2, read by rows.

Table of values

n a(n)
0 1
1 1
2 1
3 1
4 0
5 1
6 1
7 2
8 2
9 1
10 1
11 4
12 0
13 4
14 1
15 1
16 6
17 2
18 2
19 6
20 1
21 1
22 8
23 4
24 0
25 4
26 8
27 1
28 1
29 10
30 6
31 2
32 2
33 6
34 10
35 1
36 1
37 12
38 8
39 4
40 0
41 4
42 8
43 12
44 1
45 1
46 14
47 10
48 6
49 2
50 2
51 6
52 10
53 14
54 1
55 1
56 16
57 12
58 8
59 4
60 0
61 4
62 8
63 12
64 16
65 1

List of values

[1, 1, 1, 1, 0, 1, 1, 2, 2, 1, 1, 4, 0, 4, 1, 1, 6, 2, 2, 6, 1, 1, 8, 4, 0, 4, 8, 1, 1, 10, 6, 2, 2, 6, 10, 1, 1, 12, 8, 4, 0, 4, 8, 12, 1, 1, 14, 10, 6, 2, 2, 6, 10, 14, 1, 1, 16, 12, 8, 4, 0, 4, 8, 12, 16, 1]