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.

A260940 a(n) is the smallest index j>n such that g(j)=0 for the sequence g defined (for indices > n) by g(n+1)=n and g(i) = g(i-1) - gcd(i,g(i-1)).

Table of values

n a(n)
1 3
2 5
3 7
4 7
5 11
6 13
7 13
8 17
9 19
10 19
11 23
12 19
13 21
14 29
15 31
16 31
17 31
18 37
19 37
20 41
21 43
22 43
23 47
24 43
25 43
26 53
27 43
28 41
29 59
30 61
31 61
32 61
33 67
34 67
35 71
36 73
37 73
38 71
39 79
40 79
41 83
42 79
43 79
44 89
45 79
46 79
47 79
48 97
49 97
50 101
51 103
52 103
53 107
54 109
55 109
56 113
57 109
58 109
59 113
60 109

List of values

[3, 5, 7, 7, 11, 13, 13, 17, 19, 19, 23, 19, 21, 29, 31, 31, 31, 37, 37, 41, 43, 43, 47, 43, 43, 53, 43, 41, 59, 61, 61, 61, 67, 67, 71, 73, 73, 71, 79, 79, 83, 79, 79, 89, 79, 79, 79, 97, 97, 101, 103, 103, 107, 109, 109, 113, 109, 109, 113, 109]