login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A347758
Let s(k) be the finite permutation associated to A109299(k); s(a(n)) is the inverse of s(n).
3
1, 2, 3, 4, 5, 7, 6, 8, 9, 10, 11, 13, 12, 14, 15, 19, 18, 17, 16, 21, 20, 23, 22, 24, 25, 28, 29, 26, 27, 30, 31, 32, 33, 34, 35, 39, 38, 37, 36, 42, 41, 40, 46, 44, 48, 43, 47, 45, 53, 54, 55, 52, 49, 50, 51, 58, 61, 56, 60, 59, 57, 63, 62, 65, 64, 66, 68
OFFSET
1,2
COMMENTS
This sequence is a self-inverse permutation of the positive integers.
EXAMPLE
For n = 42:
- A109299(42) = 2^5 * 3^3 * 5^4 * 7^1 * 11^2,
- so s(42) = [5, 3, 4, 1, 2],
- and s(a(42)) = [4, 5, 2, 3, 1],
- and A347752(a(42)) = 2^4 * 3^5 * 5^2 * 7^3 * 11^1 = A109299(40),
- hence a(42) = 40.
PROG
(PARI) See Links section.
CROSSREFS
Sequence in context: A130988 A069769 A307747 * A154439 A154440 A371959
KEYWORD
nonn,look
AUTHOR
Rémy Sigrist, Sep 12 2021
STATUS
approved