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.

A062329 a(n) = (sum of digits of n) - (product of digits of n).

Table of values

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

List of values

[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 0, -1, -2, -3, -4, -5, -6, -7, 3, 1, -1, -3, -5, -7, -9, -11, -13, -15, 4, 1, -2, -5, -8, -11, -14, -17, -20, -23, 5, 1, -3, -7, -11, -15, -19, -23, -27, -31, 6, 1, -4, -9, -14, -19, -24, -29, -34, -39, 7, 1, -5, -11, -17, -23, -29, -35, -41, -47, 8, 1, -6, -13, -20, -27]