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.

A013584 Smallest m such that 0!+1!+...+(m-1)! is divisible by n, or 0 if no such m exists.

Table of values

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

List of values

[1, 2, 0, 3, 4, 0, 6, 0, 0, 4, 6, 0, 0, 6, 0, 0, 5, 0, 7, 0, 0, 6, 7, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 5, 0, 0, 22, 7, 0, 0, 16, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 55, 12, 0, 0, 0, 0, 0, 0, 0, 0, 54, 0, 42, 22, 0, 0, 6, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]