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.

A364391 a(n) = n - (largest nontrivial divisor of n, or 0 if there is none).

Table of values

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

List of values

[1, 2, 3, 2, 5, 3, 7, 4, 6, 5, 11, 6, 13, 7, 10, 8, 17, 9, 19, 10, 14, 11, 23, 12, 20, 13, 18, 14, 29, 15, 31, 16, 22, 17, 28, 18, 37, 19, 26, 20, 41, 21, 43, 22, 30, 23, 47, 24, 42, 25, 34, 26, 53, 27, 44, 28, 38, 29, 59, 30, 61, 31, 42, 32, 52, 33, 67, 34, 46, 35]