login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A306230 Lexicographically earliest sequence of distinct positive terms such that for any n > 0, G(n) <> G(a(n)) (where G denotes the Golomb's sequence A001462). 2
2, 1, 4, 3, 6, 5, 9, 10, 7, 8, 12, 11, 16, 17, 18, 13, 14, 15, 20, 19, 24, 25, 26, 21, 22, 23, 29, 30, 27, 28, 34, 35, 36, 31, 32, 33, 39, 40, 37, 38, 45, 46, 47, 48, 41, 42, 43, 44, 51, 52, 49, 50, 57, 58, 59, 60, 53, 54, 55, 56, 63, 64, 61, 62, 70, 71, 72 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
This sequence is a self-inverse permutation of the natural numbers.
For any n > 0, let b(n) = a(n) - n; the sequence b is unbounded.
LINKS
EXAMPLE
The first terms of the sequence, alongside G, are:
n a(n) G(n)
-- ---- ----
1 2 1
2 1 2
3 4 2
4 3 3
5 6 3
6 5 4
7 9 4
8 10 4
9 7 5
10 8 5
11 12 5
12 11 6
13 16 6
14 17 6
15 18 6
16 13 7
17 14 7
18 15 7
19 20 7
20 19 8
PROG
(PARI) See Links section.
CROSSREFS
See A306229 for a similar sequence.
Cf. A001462.
Sequence in context: A232805 A361740 A073672 * A071065 A359946 A328654
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Jan 30 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 08:59 EDT 2024. Contains 371268 sequences. (Running on oeis4.)