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.

A135680 a(n) = n if n = 1 or if n is prime. Otherwise, n = 4 if n is even and n = 5 if n is odd.

Table of values

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

List of values

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