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.

A257725 Permutation of natural numbers: a(0) = 0, a(lucky(n)) = 1 + 2*a(n-1), a(unlucky(n)) = 2*a(n), where lucky(n) = n-th lucky number A000959, unlucky(n) = n-th unlucky number A050505.

Table of values

n a(n)
0 0
1 1
2 2
3 3
4 4
5 6
6 8
7 5
8 12
9 7
10 16
11 10
12 24
13 9
14 14
15 13
16 32
17 20
18 48
19 18
20 28
21 17
22 26
23 64
24 40
25 11
26 96
27 36
28 56
29 34
30 52
31 25
32 128
33 15
34 80
35 22
36 192
37 33
38 72
39 112
40 68
41 104
42 50
43 21
44 256
45 30
46 160
47 44
48 384
49 49
50 66
51 19
52 144
53 224
54 136
55 208
56 100
57 42
58 512
59 60
60 320
61 88
62 768
63 29
64 98
65 132
66 38
67 27
68 288
69 65
70 448
71 272
72 416
73 41
74 200
75 97
76 84
77 1024
78 120
79 37

List of values

[0, 1, 2, 3, 4, 6, 8, 5, 12, 7, 16, 10, 24, 9, 14, 13, 32, 20, 48, 18, 28, 17, 26, 64, 40, 11, 96, 36, 56, 34, 52, 25, 128, 15, 80, 22, 192, 33, 72, 112, 68, 104, 50, 21, 256, 30, 160, 44, 384, 49, 66, 19, 144, 224, 136, 208, 100, 42, 512, 60, 320, 88, 768, 29, 98, 132, 38, 27, 288, 65, 448, 272, 416, 41, 200, 97, 84, 1024, 120, 37]