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.

A181118 Sequencing of all rational numbers p/q > 0 as ordered pairs (p,q). The rational (p,q) occurs as the n-th ordered pair where n=(p+q-1)*(p+q-2)/2+q.

Table of values

n a(n)
1 1
2 1
3 2
4 1
5 1
6 2
7 3
8 1
9 2
10 2
11 1
12 3
13 4
14 1
15 3
16 2
17 2
18 3
19 1
20 4
21 5
22 1
23 4
24 2
25 3
26 3
27 2
28 4
29 1
30 5
31 6
32 1
33 5
34 2
35 4
36 3
37 3
38 4
39 2
40 5
41 1
42 6
43 7
44 1
45 6
46 2
47 5
48 3
49 4
50 4
51 3
52 5
53 2
54 6
55 1
56 7
57 8
58 1
59 7
60 2
61 6
62 3
63 5
64 4
65 4
66 5
67 3
68 6
69 2
70 7
71 1
72 8
73 9
74 1
75 8
76 2
77 7
78 3
79 6
80 4
81 5
82 5
83 4
84 6
85 3
86 7
87 2
88 8
89 1
90 9
91 10
92 1
93 9
94 2
95 8
96 3
97 7
98 4
99 6
100 5
101 5
102 6
103 4
104 7
105 3

List of values

[1, 1, 2, 1, 1, 2, 3, 1, 2, 2, 1, 3, 4, 1, 3, 2, 2, 3, 1, 4, 5, 1, 4, 2, 3, 3, 2, 4, 1, 5, 6, 1, 5, 2, 4, 3, 3, 4, 2, 5, 1, 6, 7, 1, 6, 2, 5, 3, 4, 4, 3, 5, 2, 6, 1, 7, 8, 1, 7, 2, 6, 3, 5, 4, 4, 5, 3, 6, 2, 7, 1, 8, 9, 1, 8, 2, 7, 3, 6, 4, 5, 5, 4, 6, 3, 7, 2, 8, 1, 9, 10, 1, 9, 2, 8, 3, 7, 4, 6, 5, 5, 6, 4, 7, 3]