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.

A358269 a(n) is the position m of the last prime term in the sequence {b(m)} defined by b(1) = n, if b(m) is prime then b(m+1) = b(m) - m, else b(m+1) = b(m) + m.

Table of values

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

List of values

[3, 1004, 3, 1004, 3, 1004, 30, 349, 30, 5, 19, 5, 30, 1004, 30, 8, 11, 8, 30, 5, 86, 17, 67, 17, 15, 9, 19, 9, 15, 9, 19, 484, 19, 13, 30, 9, 19, 9, 19, 13, 374, 13, 19, 13, 11, 484, 86, 484, 19, 13, 67, 16, 19, 16, 19, 484, 374, 484, 19, 484, 374, 24, 19, 13]