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.

A355678 For any nonnegative number n with factorial base expansion Sum_{k > 0} d_k * k!, a(n) = Sum_{k > 0} d_k * 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 -18
31 19
32 20
33 -19
34 22
35 -21
36 -12
37 13
38 14
39 -13
40 16
41 -15
42 -6
43 7
44 8
45 -7
46 10
47 -9
48 48
49 -47
50 -46
51 47
52 -44
53 45
54 -42
55 43
56 44
57 -43
58 46
59 -45
60 -36
61 37

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, -18, 19, 20, -19, 22, -21, -12, 13, 14, -13, 16, -15, -6, 7, 8, -7, 10, -9, 48, -47, -46, 47, -44, 45, -42, 43, 44, -43, 46, -45, -36, 37]