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.

A066248 a(n) = if n+1 is prime then A049084(n+1)*2 else A066246(n+1)*2 - 1.

Table of values

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

List of values

[2, 4, 1, 6, 3, 8, 5, 7, 9, 10, 11, 12, 13, 15, 17, 14, 19, 16, 21, 23, 25, 18, 27, 29, 31, 33, 35, 20, 37, 22, 39, 41, 43, 45, 47, 24, 49, 51, 53, 26, 55, 28, 57, 59, 61, 30, 63, 65, 67, 69, 71, 32, 73, 75, 77, 79, 81, 34, 83, 36, 85, 87, 89, 91, 93, 38, 95, 97, 99, 40, 101, 42]