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!)
A327120 Inverse permutation to A327119. 2
1, 2, 4, 3, 6, 10, 8, 5, 7, 16, 12, 28, 14, 22, 9, 11, 18, 15, 20, 26, 13, 34, 24, 82, 46, 40, 36, 19, 30, 23, 32, 21, 64, 52, 17, 50, 38, 58, 76, 27, 42, 244, 44, 56, 31, 70, 48, 25, 29, 100, 66, 35, 54, 39, 136, 43, 106, 88, 60, 118, 62, 94, 37, 51, 78, 47, 68, 86 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
PROG
(PARI) a(n) = { my (d=0); while (n, d = select(t -> t>d, divisors(n))[1]; my (k=n/d); if (k%2, n-=d, n+=d)); return (d+1) } \\ Rémy Sigrist, Sep 14 2019
CROSSREFS
Inverse: A327119.
Sequence in context: A175498 A318452 A083673 * A131388 A131393 A216476
KEYWORD
nonn
AUTHOR
Jennifer Buckley, Sep 13 2019
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 April 19 08:45 EDT 2024. Contains 371782 sequences. (Running on oeis4.)