Number of circular permutations of {1, 2, ..., n} such that in every pair of adjacent elements each element in binary notation has ones at the same or adjacent positions to those of the other element.
A115509
Number of circular permutations of {1, 2, ..., n} such that in every pair of adjacent elements each element in binary notation has ones at the same or adjacent positions to those of the other element.
Terms
- a(0) =1a(1) =1a(2) =2a(3) =0a(4) =0a(5) =2a(6) =4a(7) =0a(8) =0a(9) =0a(10) =0a(11) =432a(12) =1968a(13) =24960a(14) =161280a(15) =0a(16) =0a(17) =0a(18) =0a(19) =0a(20) =0a(21) =0a(22) =0a(23) =24492908160a(24) =314562424320a(31) =0a(32) =0a(33) =0a(34) =0a(35) =0
External references
- oeis: A115509