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.

A046666 a(n) = n - (smallest prime dividing n).

Table of values

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

List of values

[0, 0, 2, 0, 4, 0, 6, 6, 8, 0, 10, 0, 12, 12, 14, 0, 16, 0, 18, 18, 20, 0, 22, 20, 24, 24, 26, 0, 28, 0, 30, 30, 32, 30, 34, 0, 36, 36, 38, 0, 40, 0, 42, 42, 44, 0, 46, 42, 48, 48, 50, 0, 52, 50, 54, 54, 56, 0, 58, 0, 60, 60, 62, 60, 64, 0, 66, 66, 68, 0, 70, 0]