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.

A159475 a(1) = 1; for n >= 1, a(n) is the smallest number m > n such that gcd(n,m) > 1.

Table of values

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

List of values

[1, 4, 6, 6, 10, 8, 14, 10, 12, 12, 22, 14, 26, 16, 18, 18, 34, 20, 38, 22, 24, 24, 46, 26, 30, 28, 30, 30, 58, 32, 62, 34, 36, 36, 40, 38, 74, 40, 42, 42, 82, 44, 86, 46, 48, 48, 94, 50, 56, 52, 54, 54, 106, 56, 60, 58, 60, 60, 118, 62, 122, 64, 66, 66, 70, 68, 134, 70, 72, 72]