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.

A135616 Number of permutations p of {1,2,...,n} such that p(x) is a polynomial in x, modulo n, of degree at most 2, for x=1,2,3,...,n.

Table of values

n a(n)
1 1
2 2
3 6
4 8
5 20
6 12
7 42
8 64
9 162
10 40
11 110
12 48
13 156
14 84
15 120
16 512
17 272
18 324
19 342
20 160
21 252
22 220
23 506
24 384
25 2500
26 312
27 4374
28 336
29 812
30 240
31 930
32 4096
33 660
34 544
35 840
36 1296
37 1332
38 684
39 936
40 1280

List of values

[1, 2, 6, 8, 20, 12, 42, 64, 162, 40, 110, 48, 156, 84, 120, 512, 272, 324, 342, 160, 252, 220, 506, 384, 2500, 312, 4374, 336, 812, 240, 930, 4096, 660, 544, 840, 1296, 1332, 684, 936, 1280]