OFFSET
1,2
COMMENTS
This sequence is a permutation of the positive integers with inverse A358141.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..8192
Rémy Sigrist, Scatterplot of the first 2^20 terms
Rémy Sigrist, PARI program
FORMULA
a(n) <= 2^k iff n <= 2^k.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Oct 30 2022
STATUS
approved