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.

A309216 a(0)=0; thereafter a(n) = a(n-1)+n if the (n-1)st digit of the sequence is even, otherwise a(n) = a(n-1)-n.

Table of values

n a(n)
0 0
1 1
2 -1
3 -4
4 0
5 5
6 -1
7 -8
8 0
9 9
10 -1
11 -12
12 -24
13 -11
14 3
15 18
16 2
17 -15
18 -33
19 -52
20 -32
21 -11
22 -33
23 -56
24 -80
25 -105
26 -131
27 -104
28 -132
29 -103
30 -133
31 -164
32 -196
33 -229
34 -263
35 -228
36 -192
37 -155
38 -193
39 -154
40 -194
41 -235
42 -277
43 -320
44 -364
45 -319
46 -273
47 -320
48 -368
49 -319
50 -369
51 -318
52 -370
53 -423
54 -477
55 -532

List of values

[0, 1, -1, -4, 0, 5, -1, -8, 0, 9, -1, -12, -24, -11, 3, 18, 2, -15, -33, -52, -32, -11, -33, -56, -80, -105, -131, -104, -132, -103, -133, -164, -196, -229, -263, -228, -192, -155, -193, -154, -194, -235, -277, -320, -364, -319, -273, -320, -368, -319, -369, -318, -370, -423, -477, -532]