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.

A330356 Starting from n: as long as the decimal representation contains a prime number, replace the largest and leftmost such substring 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 1
13 6
14 14
15 6
16 16
17 4
18 18
19 8
20 10
21 1
22 1
23 9
24 14
25 9
26 16
27 14
28 18
29 10
30 10
31 1
32 1
33 9
34 14
35 9
36 16
37 1
38 18
39 10
40 40
41 6
42 6
43 14
44 44
45 14
46 46
47 6
48 48
49 49
50 10
51 1
52 1
53 16
54 14
55 9
56 16
57 14
58 18
59 4
60 60
61 18
62 18
63 18
64 64
65 18
66 66
67 8
68 68
69 69
70 40
71 10
72 6
73 1

List of values

[0, 1, 1, 1, 4, 1, 6, 4, 8, 9, 10, 1, 1, 6, 14, 6, 16, 4, 18, 8, 10, 1, 1, 9, 14, 9, 16, 14, 18, 10, 10, 1, 1, 9, 14, 9, 16, 1, 18, 10, 40, 6, 6, 14, 44, 14, 46, 6, 48, 49, 10, 1, 1, 16, 14, 9, 16, 14, 18, 4, 60, 18, 18, 18, 64, 18, 66, 8, 68, 69, 40, 10, 6, 1]