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.

A175856 a(n) = a(n-1) - 1 if n is composite, a(n) = n otherwise.

Table of values

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

List of values

[1, 2, 3, 2, 5, 4, 7, 6, 5, 4, 11, 10, 13, 12, 11, 10, 17, 16, 19, 18, 17, 16, 23, 22, 21, 20, 19, 18, 29, 28, 31, 30, 29, 28, 27, 26, 37, 36, 35, 34, 41, 40, 43, 42, 41, 40, 47, 46, 45, 44, 43, 42, 53, 52, 51, 50, 49, 48, 59, 58, 61, 60, 59, 58, 57, 56, 67, 66]