login
A355436
Inverse permutation to A355435.
2
1, 2, 4, 3, 8, 5, 16, 6, 13, 7, 32, 12, 64, 15, 9, 11, 128, 20, 256, 10, 17, 31, 512, 14, 25, 63, 29, 18, 1024, 24, 2048, 22, 33, 127, 49, 21, 4096, 255, 61, 23, 8192, 28, 16384, 30, 52, 511, 32768, 19, 113, 26, 125, 62, 65536, 36, 57, 27, 253, 1023, 131072
OFFSET
1,2
LINKS
Rémy Sigrist, PARI program
FORMULA
a(prime(n)) = 2^n for any n > 0 (where prime(n) denotes the n-th prime number).
EXAMPLE
A355435(28) = 42, so a(42) = 28.
PROG
(PARI) See Links section.
CROSSREFS
Cf. A355435.
Sequence in context: A242722 A120242 A322864 * A352713 A054427 A363537
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Jul 02 2022
STATUS
approved