A065175 Inverse permutation to A065174.
1, 3, 7, 5, 13, 2, 11, 9, 25, 6, 15, 4, 21, 10, 19, 17, 49, 14, 23, 12, 29, 18, 27, 8, 41, 22, 31, 20, 37, 26, 35, 33, 97, 30, 39, 28, 45, 34, 43, 24, 57, 38, 47, 36, 53, 42, 51, 16, 81, 46, 55, 44, 61, 50, 59, 40, 73, 54, 63, 52, 69, 58, 67, 65, 193, 62, 71, 60, 77, 66, 75, 56
Offset: 1
Keywords
Links
- Joe Buhler and R. L. Graham, Juggling Drops and Descents, Amer. Math. Monthly, 101, (no. 6) 1994, 507 - 519.
- Index entries for sequences that are permutations of the natural numbers
Programs
-
Maple
[seq(Z2N(N2Z(n)-TZ2(abs(N2Z(n)))), n=1..120)]; N2Z := n -> ((-1)^n)*floor(n/2); Z2N := z -> 2*abs(z)+`if`((z < 1),1,0);