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.

A301574 a(n) = distance from n to nearest 3-smooth number (A003586).

Table of values

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

List of values

[0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 2, 1, 0, 1, 0, 1, 2, 3, 2, 1, 0, 1, 1, 0, 1, 2, 2, 1, 0, 1, 2, 1, 0, 1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 2, 1, 0, 1, 2, 3, 4, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 3, 2, 1, 0, 1, 2, 3, 4, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6]