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.

A340148 a(n) = Product_{distinct primes p dividing n} gcd(q-1, A003961(n)-1), where q = A151800(p), the next prime larger than p.

Table of values

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

List of values

[1, 2, 4, 2, 6, 4, 10, 2, 4, 4, 12, 8, 16, 4, 4, 2, 18, 4, 22, 4, 4, 4, 28, 4, 6, 4, 4, 4, 30, 16, 36, 2, 16, 4, 4, 8, 40, 4, 16, 4, 42, 16, 46, 8, 12, 4, 52, 8, 10, 4, 4, 16, 58, 4, 36, 4, 4, 4, 60, 8, 66, 4, 4, 2, 4, 8, 70, 4, 16, 40, 72, 4, 78, 4, 8, 4, 4, 8, 82, 4, 4, 4, 88, 8, 36, 4, 4, 4, 96, 16, 4, 8, 16]