Number of permutations p of {1,...,n} such that exactly one element of {p(1),...,p(i-1)} is between p(i) and p(i+1) for all i from 2 to n-1.
A185030
Number of permutations p of {1,...,n} such that exactly one element of {p(1),...,p(i-1)} is between p(i) and p(i+1) for all i from 2 to n-1.
Terms
- a(0) =1a(1) =1a(2) =2a(3) =2a(4) =2a(5) =4a(6) =6a(7) =10a(8) =20a(9) =36a(10) =66a(11) =132a(12) =250a(13) =478a(14) =956a(15) =1854a(16) =3612a(17) =7224a(18) =14178a(19) =27898a(20) =55796a(21) =110246a(22) =218166a(23) =436332a(24) =865618a(25) =1718902a(26) =3437804a(27) =6837398a(28) =13607250a(29) =27214500
External references
- oeis: A185030