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.

A212598 a(n) = n - m!, where m is the largest number such that m! <= n.

Table of values

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

List of values

[0, 0, 1, 2, 3, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66]