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.

A362332 For n > 1, if n appears in the sequence then a(n) = lastindex(n), where lastindex(n) is the index of the last appearance of n. Otherwise a(n+1) = a(n)/(n+1) if (n+1)|a(n), otherwise a(n)*(n+1), a(1) = 1 and a(2) = 1*2.

Table of values

n a(n)
1 1
2 2
3 6
4 24
5 120
6 3
7 21
8 168
9 1512
10 15120
11 166320
12 13860
13 180180
14 12870
15 858
16 13728
17 233376
18 4200768
19 79814592
20 1596291840
21 7
22 154
23 3542
24 4
25 100
26 2600
27 70200
28 1965600
29 57002400
30 1900080
31 58902480
32 1884879360
33 62201018880

List of values

[1, 2, 6, 24, 120, 3, 21, 168, 1512, 15120, 166320, 13860, 180180, 12870, 858, 13728, 233376, 4200768, 79814592, 1596291840, 7, 154, 3542, 4, 100, 2600, 70200, 1965600, 57002400, 1900080, 58902480, 1884879360, 62201018880]