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.

A187553 Smallest prime p such that the sum of the squares of the digits of p equals n (or 0 if no such prime exists).

Table of values

n a(n)
1 0
2 11
3 0
4 2
5 101111
6 211
7 2111
8 101111111
9 3
10 13
11 113
12 112121
13 23
14 21221
15 1123
16 11213
17 41
18 1223
19 313
20 10133
21 241
22 233
23 112223
24 21313
25 5
26 431
27 151
28 1151
29 13313
30 251
31 2333
32 11251
33 2243
34 53
35 1433
36 1153
37 61
38 523
39 1523
40 11161
41 443
42 541
43 353
44 33413
45 2621
46 163
47 1163
48 13523
49 7
50 17

List of values

[0, 11, 0, 2, 101111, 211, 2111, 101111111, 3, 13, 113, 112121, 23, 21221, 1123, 11213, 41, 1223, 313, 10133, 241, 233, 112223, 21313, 5, 431, 151, 1151, 13313, 251, 2333, 11251, 2243, 53, 1433, 1153, 61, 523, 1523, 11161, 443, 541, 353, 33413, 2621, 163, 1163, 13523, 7, 17]