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.

A345967 Lexicographically first sequence of distinct positive integers such that the alternating partial sums p(n) = Sum_{k=1..n} -(-1)^k a(k), n >= 1, are distinct positive integers.

Table of values

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

List of values

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