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.

A325965 a(n) is the least k >= A020639(n) such that n-k and n-(sigma(n)-k) are relatively prime.

Table of values

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

List of values

[1, 2, 4, 2, 6, 5, 8, 2, 3, 3, 12, 3, 14, 3, 4, 2, 18, 2, 20, 3, 4, 3, 24, 5, 5, 3, 4, 27, 30, 5, 32, 2, 4, 3, 6, 2, 38, 3, 4, 3, 42, 5, 44, 3, 4, 3, 48, 3, 7, 2, 4, 3, 54, 5, 6, 3, 4, 3, 60, 5, 62, 3, 4, 2, 6, 5, 68, 5, 4, 3, 72, 2, 74, 3, 4, 3, 8, 5, 80, 3, 3, 3, 84, 3, 6, 3, 4, 3, 90, 5, 8, 3, 4, 3, 6, 5, 98, 2, 4, 2]