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.

A325961 a(n) is the least k >= A061228(n)-1 such that n-k and n-(sigma(n)-k) are relatively prime, or 0 if no such k <= sigma(n) exists.

Table of values

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

List of values

[1, 3, 0, 5, 0, 7, 0, 9, 11, 11, 0, 13, 0, 15, 20, 17, 0, 19, 0, 21, 24, 23, 0, 25, 29, 27, 30, 29, 0, 31, 0, 33, 38, 35, 40, 37, 0, 39, 42, 41, 0, 43, 0, 45, 50, 47, 0, 49, 55, 51, 58, 53, 0, 55, 60, 57, 60, 59, 0, 61, 0, 63, 66, 65, 70, 67, 0, 69, 74, 71, 0, 73, 0, 75, 78, 77, 84, 79, 0, 81, 83, 83, 0, 85, 90, 87, 92, 89, 0, 91, 100]