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.

A318712 Numbers k for which a riffle shuffle permutation with two or more packets permutes all except the first and the last of the k cards.

Table of values

n a(n)
1 4
2 6
3 12
4 14
5 18
6 20
7 30
8 38
9 42
10 54
11 60
12 62
13 68
14 84
15 90
16 98
17 102
18 108
19 110
20 114
21 132
22 138
23 140
24 150
25 164
26 174
27 180
28 182
29 198
30 212
31 228
32 230
33 234
34 252
35 258
36 270
37 282
38 294
39 308
40 318
41 348
42 350
43 354
44 374
45 380
46 390
47 402
48 420
49 422
50 434
51 444
52 450
53 462
54 468
55 492
56 500
57 510
58 522
59 524
60 542
61 548
62 558
63 564

List of values

[4, 6, 12, 14, 18, 20, 30, 38, 42, 54, 60, 62, 68, 84, 90, 98, 102, 108, 110, 114, 132, 138, 140, 150, 164, 174, 180, 182, 198, 212, 228, 230, 234, 252, 258, 270, 282, 294, 308, 318, 348, 350, 354, 374, 380, 390, 402, 420, 422, 434, 444, 450, 462, 468, 492, 500, 510, 522, 524, 542, 548, 558, 564]