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.

A381591 Elimination order of the first person in a variation of the Josephus problem, where there are n people total and two people are skipped each time.

Table of values

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

List of values

[1, 1, 2, 4, 2, 6, 6, 3, 9, 6, 4, 7, 11, 5, 11, 15, 6, 13, 11, 7, 12, 16, 8, 23, 18, 9, 22, 16, 10, 17, 31, 11, 27, 30, 12, 35, 21, 13, 22, 37, 14, 30, 35, 15, 32, 26, 16, 27, 35, 17, 47, 37, 18, 53, 31, 19, 32, 47, 20, 57, 56, 21, 51, 36, 22, 37, 65, 23, 49, 70]