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.

A386929 a(n) is the least base b in {2,...,10} such that the base-b expansion of n, when read as a decimal integer, is prime; a(n) = 0 if no such base exists.

Table of values

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

List of values

[0, 3, 2, 3, 2, 5, 4, 5, 6, 3, 4, 9, 4, 0, 6, 5, 4, 0, 4, 0, 5, 3, 2, 0, 6, 5, 6, 5, 4, 0, 7, 0, 5, 3, 8, 0, 4, 7, 6, 0, 5, 0, 4, 0, 6, 3, 2, 9, 8, 7, 0, 7, 4, 0, 4, 5, 8, 3, 7, 0, 4, 0, 5, 9, 8, 9, 3, 5, 0, 0, 4, 0, 4, 0, 8, 0, 4, 0, 3, 0, 5, 9, 4, 9, 7, 0, 6, 9, 2, 0, 4, 0, 6, 3, 8]