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.

A091940 Given n colors, sequence gives number of ways to color the vertices of a square such that no edge has the same color on both of its vertices.

Table of values

n a(n)
1 0
2 2
3 18
4 84
5 260
6 630
7 1302
8 2408
9 4104
10 6570
11 10010
12 14652
13 20748
14 28574
15 38430
16 50640
17 65552
18 83538
19 104994
20 130340
21 160020
22 194502
23 234278
24 279864
25 331800
26 390650
27 457002
28 531468
29 614684
30 707310
31 810030
32 923552
33 1048608
34 1185954
35 1336370
36 1500660

List of values

[0, 2, 18, 84, 260, 630, 1302, 2408, 4104, 6570, 10010, 14652, 20748, 28574, 38430, 50640, 65552, 83538, 104994, 130340, 160020, 194502, 234278, 279864, 331800, 390650, 457002, 531468, 614684, 707310, 810030, 923552, 1048608, 1185954, 1336370, 1500660]