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.

A118362 a(1)=1; for n>1, a(n) = "n AND a(n-1)" if that number is positive and not already in the sequence, otherwise a(n) = "n OR a(n-1)".

Table of values

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

List of values

[1, 3, 3, 7, 5, 4, 7, 15, 9, 8, 11, 15, 13, 12, 15, 31, 17, 16, 19, 23, 21, 20, 23, 31, 25, 24, 27, 31, 29, 28, 31, 63, 33, 32, 35, 39, 37, 36, 39, 47, 41, 40, 43, 47, 45, 44, 47, 63, 49, 48, 51, 55, 53, 52, 55, 63, 57, 56, 59, 63, 61, 60, 63, 127, 65, 64, 67, 71, 69, 68, 71, 79]