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.

A266123 Decrement by 1 all digits > 1 in factorial base representation of n and then shift it one digit right.

Table of values

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

List of values

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