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.

A257798 Permutation of natural numbers: a(1) = 1; a(2n) = nontriangular(a(n)), a(2n+1) = triangular(1+a(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 10
8 7
9 15
10 9
11 28
12 8
13 21
14 14
15 66
16 11
17 36
18 20
19 136
20 13
21 55
22 35
23 435
24 12
25 45
26 27
27 253
28 19
29 120
30 77
31 2278
32 16
33 78
34 44
35 703
36 26
37 231
38 152
39 9453
40 18
41 105
42 65
43 1596
44 43
45 666
46 464
47 95266
48 17
49 91
50 54
51 1081
52 34
53 406
54 275
55 32385
56 25
57 210
58 135
59 7381
60 89
61 3081
62 2345
63 2598060
64 22
65 153
66 90
67 3160
68 53
69 1035
70 740
71 248160
72 33

List of values

[1, 2, 3, 4, 6, 5, 10, 7, 15, 9, 28, 8, 21, 14, 66, 11, 36, 20, 136, 13, 55, 35, 435, 12, 45, 27, 253, 19, 120, 77, 2278, 16, 78, 44, 703, 26, 231, 152, 9453, 18, 105, 65, 1596, 43, 666, 464, 95266, 17, 91, 54, 1081, 34, 406, 275, 32385, 25, 210, 135, 7381, 89, 3081, 2345, 2598060, 22, 153, 90, 3160, 53, 1035, 740, 248160, 33]