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.

A138758 Index of A001203(n) (continued fraction for Pi) in A000040 (primes), or 0 if A001203(n) is not prime.

Table of values

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

List of values

[2, 4, 0, 0, 0, 0, 0, 0, 1, 0, 2, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 2, 6, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 2, 3, 0, 0, 0, 0, 0, 4, 0, 1, 2, 4, 0, 1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 3, 1, 1, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 2, 0, 1, 0, 0, 0, 1, 3, 0, 0, 1]