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.

A376257 a(n) = (n - c(n))*(-1)^c(n), where c(n) is the product of the digits of n (A007954).

Table of values

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

List of values

[0, 0, 0, 0, 0, 0, 0, 0, 0, 10, -10, 10, -10, 10, -10, 10, -10, 10, -10, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 30, -28, 26, -24, 22, -20, 18, -16, 14, -12, 40, 37, 34, 31, 28, 25, 22, 19, 16, 13, 50, -46, 42, -38, 34, -30, 26, -22, 18, -14, 60, 55, 50, 45, 40, 35, 30, 25, 20, 15, 70, -64, 58]