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.

A174562 a(1)=2, a(2)=3, then a(n)=a(n-1)+a(n-2) if n odd, a(n)=a(n-1)-a(n-2) if n even.

Table of values

n a(n)
1 2
2 3
3 5
4 2
5 7
6 5
7 12
8 7
9 19
10 12
11 31
12 19
13 50
14 31
15 81
16 50
17 131
18 81
19 212
20 131
21 343
22 212
23 555
24 343
25 898
26 555
27 1453
28 898
29 2351
30 1453
31 3804
32 2351
33 6155
34 3804
35 9959
36 6155
37 16114
38 9959
39 26073
40 16114
41 42187
42 26073
43 68260
44 42187
45 110447
46 68260
47 178707
48 110447

List of values

[2, 3, 5, 2, 7, 5, 12, 7, 19, 12, 31, 19, 50, 31, 81, 50, 131, 81, 212, 131, 343, 212, 555, 343, 898, 555, 1453, 898, 2351, 1453, 3804, 2351, 6155, 3804, 9959, 6155, 16114, 9959, 26073, 16114, 42187, 26073, 68260, 42187, 110447, 68260, 178707, 110447]