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.

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

Table of values

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

List of values

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