OFFSET
1,2
COMMENTS
This sequence is a self-inverse permutation of the natural numbers.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, Colored logarithmic scatterplot of the first 2^15 terms (where the color is function of A070939(n * a(n)))
Rémy Sigrist, C++ program for A300868
EXAMPLE
The first terms, alongside the binary representation of n * a(n), are:
n a(n) binary(n * a(n))
-- ---- ----------------
1 1 1
2 2 100
3 3 1001
4 4 10000
5 8 101000
6 6 100100
7 12 1010100
8 5 101000
9 9 1010001
10 13 10000010
11 15 10100101
12 7 1010100
13 10 10000010
14 19 100001010
15 11 10100101
16 16 100000000
17 17 100100001
18 18 101000100
19 14 100001010
20 26 1000001000
PROG
(C++) See Links section.
CROSSREFS
KEYWORD
AUTHOR
Rémy Sigrist, Mar 14 2018
STATUS
approved