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.

A249278 Lexicographically earliest permutation of the nonnegative integers such that the parity of the first digit of a(n+1) equals that of a(n)'s last digit.

Table of values

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

List of values

[0, 2, 4, 6, 8, 20, 21, 1, 3, 5, 7, 9, 10, 22, 23, 11, 12, 24, 25, 13, 14, 26, 27, 15, 16, 28, 29, 17, 18, 40, 41, 19, 30, 42, 43, 31, 32, 44, 45, 33, 34, 46, 47, 35, 36, 48, 49, 37, 38, 60, 61, 39, 50, 62, 63, 51, 52, 64, 65, 53, 54, 66, 67, 55, 56, 68, 69, 57, 58, 80, 81, 59, 70, 82, 83, 71, 72, 84, 85, 73, 74, 86, 87, 75, 76, 88, 89, 77, 78, 200, 201]