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.

A318388 a(1) = 1, a(n) = -floor(e*a(n/2)) if n is even, a(n) = n - a(n-1) if n is odd.

Table of values

n a(n)
1 1
2 -2
3 5
4 6
5 -1
6 -13
7 20
8 -16
9 25
10 3
11 8
12 36
13 -23
14 -54
15 69
16 44
17 -27
18 -67
19 86
20 -8
21 29
22 -21
23 44
24 -97
25 122
26 63
27 -36
28 147
29 -118
30 -187
31 218
32 -119
33 152
34 74
35 -39
36 183
37 -146
38 -233
39 272
40 22
41 19
42 -78
43 121
44 58
45 -13
46 -119
47 166
48 264
49 -215
50 -331
51 382
52 -171
53 224
54 98
55 -43
56 -399
57 456
58 321
59 -262
60 509
61 -448
62 -592
63 655
64 324
65 -259
66 -413

List of values

[1, -2, 5, 6, -1, -13, 20, -16, 25, 3, 8, 36, -23, -54, 69, 44, -27, -67, 86, -8, 29, -21, 44, -97, 122, 63, -36, 147, -118, -187, 218, -119, 152, 74, -39, 183, -146, -233, 272, 22, 19, -78, 121, 58, -13, -119, 166, 264, -215, -331, 382, -171, 224, 98, -43, -399, 456, 321, -262, 509, -448, -592, 655, 324, -259, -413]