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!)
A372166 Inverse permutation to A371985. 1
1, 2, 3, 4, 5, 6, 9, 8, 7, 10, 17, 11, 33, 18, 13, 16, 65, 14, 129, 12, 19, 34, 257, 20, 21, 66, 15, 25, 513, 22, 1025, 32, 35, 130, 37, 23, 2049, 258, 67, 24, 4097, 38, 8193, 36, 29, 514, 16385, 27, 41, 26, 131, 68, 32769, 30, 49, 40, 259, 1026, 65537, 28 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Rémy Sigrist, PARI program
FORMULA
a(prime(k)) = 2^(k-1) + 1 for any k > 0 (where prime(k) denotes the k-th prime number).
EXAMPLE
A371985(42) = 70, so a(70) = 42.
PROG
(PARI) \\ See Links section.
CROSSREFS
Sequence in context: A005940 A332815 A355405 * A005941 A355460 A355809
KEYWORD
nonn,new
AUTHOR
Rémy Sigrist, Apr 21 2024
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 May 7 09:15 EDT 2024. Contains 372302 sequences. (Running on oeis4.)