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.

A086335 a(n) = a((n - a(n-1))*(1-mod(n, 2))+a(n-1)*(mod(n, 2))) + a((n - a(n-2))*(1-mod(n, 2)) +(n-a(n-1))*(mod(n, 2))) with a(1) = a(2) = 1.

Table of values

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

List of values

[1, 1, 2, 3, 3, 4, 5, 5, 6, 6, 7, 7, 9, 8, 10, 9, 11, 11, 12, 11, 13, 13, 15, 13, 16, 15, 17, 16, 18, 15, 19, 20, 20, 16, 21, 21, 22, 20, 23, 22, 25, 22, 26, 24, 26, 24, 28, 24, 29, 28, 31, 26, 32, 29, 33, 32, 36, 28, 35, 36, 37, 31, 39, 36, 39, 32, 41, 38, 39, 39, 43, 38, 41, 41]