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.

A174218 An absolute difference sequence based on A087655: a(n)=If[Mod[A087655(n), 3] == 1, a(n - 1) - (-1)^n*n, a(n - 1) + (-1)^n*n].

Table of values

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

List of values

[1, 0, -2, 1, 5, 10, 16, 9, 17, 26, 16, 5, -7, 6, -8, 7, 23, 6, -12, 7, -13, 8, 30, 7, 31, 6, 32, 5, 33, 4, 34, 3, 35, 2, -32, -67, -31, -68, -30, -69, -29, 12, 54, 11, 55, 100, 54, 101, 149, 100, 150, 99, 47, -6, 48, -7, -63, -120, -62, -121, -61, -122, -184, -247, -183]