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.

A348907 If n is prime, a(n) = n, else a(n) = a(n-pi(n)), n >= 2; where pi is the prime counting function A000720.

Table of values

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

List of values

[2, 3, 2, 5, 3, 7, 2, 5, 3, 11, 7, 13, 2, 5, 3, 17, 11, 19, 7, 13, 2, 23, 5, 3, 17, 11, 19, 29, 7, 31, 13, 2, 23, 5, 3, 37, 17, 11, 19, 41, 29, 43, 7, 31, 13, 47, 2, 23, 5, 3, 37, 53, 17, 11, 19, 41, 29, 59, 43, 61, 7, 31, 13, 47, 2, 67, 23, 5, 3, 71, 37, 73, 53, 17, 11]