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!)
A054082 Permutation of N: a(1)=2, a(2)=1 and for each k >= 2, let p(k)=least natural number not already an a(i), q(k)=p(k)+k-1, a(2k-1)=q(k), a(2k)=p(k). 3
2, 1, 4, 3, 7, 5, 9, 6, 12, 8, 15, 10, 17, 11, 20, 13, 22, 14, 25, 16, 28, 18, 30, 19, 33, 21, 36, 23, 38, 24, 41, 26, 43, 27, 46, 29, 49, 31, 51, 32, 54, 34, 56, 35, 59, 37, 62, 39, 64, 40, 67, 42, 70, 44, 72, 45, 75, 47, 77, 48, 80, 50, 83 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
a[n_] := If[OddQ[n], Floor[((n+1)/2 - 1) GoldenRatio] + (n+1)/2 + 1, Floor[(n/2 - 1) GoldenRatio] + 2]; a[2] = 1;
Array[a, 100] (* Jean-François Alcover, Apr 01 2020 *)
CROSSREFS
Odd-indexed terms: A026356. Even-indexed terms: A026355. Inverse permutation: A064579.
Sequence in context: A114861 A086512 A120751 * A339381 A238544 A101708
KEYWORD
nonn,eigen
AUTHOR
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 March 29 06:15 EDT 2024. Contains 371265 sequences. (Running on oeis4.)