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.

A257684 Discard the rightmost digit from the factorial base representation of n and subtract one from all remaining nonzero digits, then convert back to decimal.

Table of values

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

List of values

[0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 4, 4, 5, 5, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 4, 4, 4, 4, 5, 5, 6, 6, 6, 6, 7, 7, 6, 6, 6, 6, 7, 7, 8, 8, 8, 8, 9, 9, 10, 10, 10, 10, 11, 11, 12, 12, 12, 12, 13, 13, 12, 12, 12, 12, 13, 13, 14, 14, 14, 14, 15, 15, 16, 16, 16, 16, 17, 17]