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.

A069586 Smallest prime power p^k (k >= 2) such that there is a difference of exactly n between p^k and some other prime power q^m (m >= 2); or 0 if no such q^m exists.

Table of values

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

List of values

[8, 25, 125, 4, 4, 0, 9, 8, 16, 2187, 16, 4, 243, 0, 49, 9, 8, 9, 8, 0, 4, 27, 4, 8, 0, 0, 0, 4, 0, 6859, 0, 32, 16, 0, 0, 0, 27, 1331, 25, 9, 8, 0, 0, 81, 4, 243, 81, 16, 32, 0, 0, 0, 0, 27, 9, 8, 64, 0, 0, 4, 64, 0, 961, 64, 16, 0, 0, 0, 0, 0, 0, 9, 8, 169, 0, 49, 4, 0, 49, 0, 0, 0, 0, 0, 0]