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.

A355679 For any nonnegative number n with primorial base expansion Sum_{k >= 0} d_k * A002110(k), a(n) = Sum_{k >= 0} d_k * A002110(k) * (-1)^(Sum_{i < k} sign(d_i)).

Table of values

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

List of values

[0, 1, 2, -1, 4, -3, 6, -5, -4, 5, -2, 3, 12, -11, -10, 11, -8, 9, 18, -17, -16, 17, -14, 15, 24, -23, -22, 23, -20, 21, 30, -29, -28, 29, -26, 27, -24, 25, 26, -25, 28, -27, -18, 19, 20, -19, 22, -21, -12, 13, 14, -13, 16, -15, -6, 7, 8, -7, 10, -9, 60, -59]