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.

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

Table of values

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

List of values

[1, 3, 2, 5, 4, 7, 6, 8, 10, 9, 12, 11, 14, 16, 18, 13, 20, 15, 22, 24, 26, 17, 28, 30, 32, 34, 36, 19, 38, 21, 40, 42, 44, 46, 48, 23, 50, 52, 54, 25, 56, 27, 58, 60, 62, 29, 64, 66, 68, 70, 72, 31, 74, 76, 78, 80, 82, 33, 84, 35, 86, 88, 90, 92, 94, 37, 96, 98, 100, 39, 102]