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.

A052902 Take n-th prime p, let P = all primes that can be obtained by permuting the digits of p and possibly omitting zeros; a(n) = |p-q| where q in P is the closest to p but different from p (a(n)=0 if no such q exists).

Table of values

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

List of values

[0, 0, 0, 0, 0, 18, 54, 0, 0, 0, 18, 36, 0, 0, 0, 0, 0, 0, 0, 54, 36, 18, 0, 0, 18, 90, 72, 36, 90, 18, 144, 18, 36, 54, 270, 0, 414, 450, 450, 36, 18, 630, 720, 54, 18, 720, 0, 0, 0, 0, 0, 54, 180, 270, 0, 0, 0, 144, 450, 540, 540, 54, 234, 180, 18, 144, 18, 36, 396, 90, 0, 234, 306]