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.

A145465 a(0) = 2, a(1) = 2, and for n > 1, a(n) = a(n-1) + a((a(n-1) - 1) mod n).

Table of values

n a(n)
0 2
1 2
2 4
3 6
4 8
5 12
6 24
7 28
8 34
9 58
10 86
11 120
12 240
13 252
14 504
15 538
16 596
17 598
18 604
19 1108
20 1136
21 1138
22 1676
23 2784
24 5568
25 6166
26 6172
27 6710
28 7308
29 14616
30 14628
31 20800
32 41600
33 42708
34 42714
35 42966
36 43564
37 44068
38 50234
39 50236
40 93202
41 93236

List of values

[2, 2, 4, 6, 8, 12, 24, 28, 34, 58, 86, 120, 240, 252, 504, 538, 596, 598, 604, 1108, 1136, 1138, 1676, 2784, 5568, 6166, 6172, 6710, 7308, 14616, 14628, 20800, 41600, 42708, 42714, 42966, 43564, 44068, 50234, 50236, 93202, 93236]