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.

A303545 For any n > 0 and prime number p, let d_p(n) be the distance from n to the nearest p-smooth number; a(n) = Sum_{i prime} d_i(n).

Table of values

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

List of values

[0, 0, 1, 0, 2, 2, 3, 0, 1, 3, 6, 4, 7, 5, 2, 0, 6, 2, 9, 6, 9, 11, 14, 8, 8, 10, 5, 6, 12, 4, 10, 0, 4, 9, 5, 4, 15, 16, 13, 12, 24, 18, 28, 18, 16, 22, 28, 16, 17, 16, 20, 20, 25, 10, 12, 12, 17, 22, 24, 8, 21, 13, 3, 0, 5, 8, 26, 18, 16, 10, 25, 8, 28, 21]