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.

A329428 Starting from n: as long as the decimal representation starts with a prime number, replace the largest such prefix with the index of the corresponding prime number; a(n) corresponds to the final value.

Table of values

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

List of values

[0, 1, 1, 1, 4, 1, 6, 4, 8, 9, 10, 1, 12, 6, 14, 15, 16, 4, 18, 8, 10, 1, 12, 9, 14, 15, 16, 4, 18, 10, 10, 1, 12, 9, 14, 15, 16, 12, 18, 10, 40, 6, 42, 14, 44, 45, 46, 15, 48, 49, 10, 1, 12, 16, 14, 15, 16, 12, 18, 4, 60, 18, 62, 63, 64, 65, 66, 8, 68, 69, 40]