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.

A322558 a(0)=1, a(1)=1; for n>1, a(n)=a(n-1)+a(n-2) if a(n-1) is less than or equal to n-1, otherwise a(n)=a(n-1)-(n-1).

Table of values

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

List of values

[1, 1, 2, 3, 5, 1, 6, 7, 13, 5, 18, 8, 26, 14, 1, 15, 16, 31, 14, 45, 26, 6, 32, 10, 42, 18, 60, 34, 7, 41, 12, 53, 22, 75, 42, 8, 50, 14, 64, 26, 90, 50, 9, 59, 16, 75, 30, 105, 58, 10, 68, 18, 86, 34, 120, 66, 11, 77, 20, 97, 38, 135, 74, 12, 86, 22, 108, 42, 150, 82, 13, 95, 24, 119, 46, 165, 90, 14, 104, 26]