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.

A037851 a(n)=Sum{d(i-1)-d(i): d(i) where Sum{d(i)*10^i: i=0,1,...,m} is the base 10 representation of n.

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

List of values

[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0]