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.

A337938 Irregular triangle read by rows: T(n, k) gives the primitive period of the sequence {k (Modd n)}_{k >= 0}, for n >= 1.

Table of values

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

List of values

[0, 0, 1, 0, 1, 2, 0, 2, 1, 0, 1, 2, 3, 0, 3, 2, 1, 0, 1, 2, 3, 4, 0, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 0, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 0, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 0, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 0, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 9, 8, 7, 6, 5, 4, 3, 2, 1]