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.

A074840 Numerators a(n) of fractions slowly converging to sqrt(2): let a(1) = 0, b(n) = n - a(n); if (a(n) + 1) / b(n) < sqrt(2), then a(n+1) = a(n) + 1, else a(n+1)= a(n).

Table of values

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

List of values

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