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.

A257797 Permutation of natural numbers: a(1) = 1, a(triangular(n)) = 1+(2*a(n-1)), a(nontriangular(n)) = 2*n, where triangular = A000217, nontriangular = A014132.

Table of values

n a(n)
1 1
2 2
3 3
4 4
5 6
6 5
7 8
8 12
9 10
10 7
11 16
12 24
13 20
14 14
15 9
16 32
17 48
18 40
19 28
20 18
21 13
22 64
23 96
24 80
25 56
26 36
27 26
28 11
29 128
30 192
31 160
32 112
33 72
34 52
35 22
36 17
37 256
38 384
39 320
40 224
41 144
42 104
43 44
44 34
45 25
46 512
47 768
48 640
49 448
50 288
51 208
52 88
53 68
54 50
55 21
56 1024
57 1536
58 1280
59 896
60 576
61 416
62 176
63 136
64 100
65 42
66 15

List of values

[1, 2, 3, 4, 6, 5, 8, 12, 10, 7, 16, 24, 20, 14, 9, 32, 48, 40, 28, 18, 13, 64, 96, 80, 56, 36, 26, 11, 128, 192, 160, 112, 72, 52, 22, 17, 256, 384, 320, 224, 144, 104, 44, 34, 25, 512, 768, 640, 448, 288, 208, 88, 68, 50, 21, 1024, 1536, 1280, 896, 576, 416, 176, 136, 100, 42, 15]