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.

A060447 Cyclic token-passing numbers with pattern 121: players 1, 2, ..., n are seated around a table. Each has a penny. Player 1 passes a penny to player 2, who passes two pennies to player 3, who passes a penny to player 4. Player 4 passes a penny to player 5, who passes two pennies to player 6, who passes a penny to player 7 and so on, players passing 1,2,1,1,2,1,... pennies to the next player who still has some pennies. A player who runs out of pennies drops out of the game and leaves the table. Sequence gives number of players remaining when game reaches periodic state.

Table of values

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

List of values

[1, 1, 1, 2, 2, 2, 2, 2, 2, 4, 4, 2, 5, 5, 4, 4, 4, 4, 4, 4, 8, 5, 8, 8, 5, 5, 8, 7, 7, 7, 11, 11, 11, 11, 11, 11, 11, 11, 11, 17, 17, 14, 7, 7, 11, 11, 11, 11, 19, 20, 20, 11, 11, 11, 14, 14, 22, 17, 17, 17, 16, 14, 14, 16, 20, 16, 10, 16, 17, 20, 20, 20, 23]