A182659 A canonical permutation designed to thwart a certain naive attempt to guess whether sequences are permutations.
0, 2, 3, 1, 5, 6, 7, 8, 9, 4, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 10, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 22, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68
Offset: 0
Links
- S. Alexander, On Guessing Whether A Sequence Has A Certain Property, arXiv:1011.6626 [math.LO], 2010-2012, J. Int. Seq. 14 (2011) # 11.4.4.
Formula
a(0) = 0; if n = A068156(k+1) = 6*2^k - 3 for some k >= 0 then a(n) = A033484(k) = (n-1)/2; otherwise, a(n) = n+1. - Andrey Zabolotskiy, Feb 27 2025
Extensions
a(22) corrected and further terms added by Andrey Zabolotskiy, Feb 27 2025
Comments