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.

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

Table of values

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

List of values

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