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.

A096062 a(1) = a(2) = 1; for n > 2, if a(n-2) + a(n-1) > n then a(n) = abs(a(n-2) - a(n-1)) else a(n) = a(n-2) + a(n-1).

Table of values

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

List of values

[1, 1, 2, 3, 5, 2, 7, 5, 2, 7, 9, 2, 11, 13, 2, 15, 17, 2, 19, 17, 2, 19, 21, 2, 23, 25, 2, 27, 29, 2, 31, 29, 2, 31, 33, 2, 35, 37, 2, 39, 41, 2, 43, 41, 2, 43, 45, 2, 47, 49, 2, 51, 53, 2, 55, 53, 2, 55, 57, 2, 59, 61, 2, 63, 65, 2, 67, 65, 2, 67, 69, 2, 71, 73, 2, 75, 77, 2, 79, 77, 2]