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.

A332058 a(1) = 1; a(n+1) = a(n) +- (sum of digits of a(1) up to a(n)), with "+" when a(n) is odd, or "-" if even.

Table of values

n a(n)
1 1
2 2
3 -1
4 3
5 10
6 2
7 -8
8 -26
9 -52
10 -85
11 -39
12 19
13 87
14 170
15 79
16 186
17 64
18 -68
19 -214
20 -367
21 -198
22 -385
23 -182
24 -396
25 -628
26 -876
27 -1145
28 -865
29 -566
30 -882
31 -1216
32 -1560
33 -1916
34 -2289
35 -1895
36 -1478
37 -1915
38 -1462
39 -1928
40 -2414
41 -2911
42 -2401

List of values

[1, 2, -1, 3, 10, 2, -8, -26, -52, -85, -39, 19, 87, 170, 79, 186, 64, -68, -214, -367, -198, -385, -182, -396, -628, -876, -1145, -865, -566, -882, -1216, -1560, -1916, -2289, -1895, -1478, -1915, -1462, -1928, -2414, -2911, -2401]