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.

A072894 Let c(k) be defined as follows: c(1)=1, c(2)=n, c(k+2) = c(k+1)/2 + c(k)/2 if c(k+1) and c(k) have the same parity; c(k+2) = c(k+1)/2 + c(k)/2 + 1/2 otherwise; a(n) = limit_{ k -> infinity} c(k).

Table of values

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

List of values

[1, 2, 3, 4, 4, 5, 6, 7, 7, 8, 9, 10, 10, 11, 11, 12, 12, 13, 14, 15, 15, 16, 17, 18, 18, 19, 20, 21, 21, 22, 22, 23, 23, 24, 25, 26, 26, 27, 28, 29, 29, 30, 31, 32, 32, 33, 33, 34, 34, 35, 36, 37, 37, 38, 38, 39, 39, 40, 41, 42, 42, 43, 43, 44, 44, 45, 46, 47, 47, 48, 49, 50, 50]