OFFSET
1,2
COMMENTS
A non-monotonic sequence: a(25) > a(26).
a(n) > a(n+1) for n = 25, 33, 49, 57, 65, 81, 97, 98, 113, 129, 130, 131, 145, 161, 162, 177, 193, 194, 195, 197, ... - Max Alekseyev, Mar 14 2019
LINKS
Max Alekseyev, Table of n, a(n) for n = 1..100
Simon Wundling, About a combinatorial problem with n seats and n people, arXiv:2303.18175 [math.CO], 2023. (German)
FORMULA
For n>1, a(n) = A095239(n-1)/(n-1) * 2. - Max Alekseyev, Mar 14 2019
For n>1, a(n) = 2 * Product_{j=1..n-1} 2^(d(n,j)) * (d(n,j))! * (b(n,j) - d(n,j))! (See A095236 for definition and calculation of b(n,j) and d(n,j)). - Simon Wundling, May 21 2023
EXAMPLE
For example, in a 6-pay-phone situation, person A must pick either pay-phone 1 or pay-phone 6.
CROSSREFS
KEYWORD
nonn
AUTHOR
Matthew Vandermast, Jul 03 2004
EXTENSIONS
Edited by Max Alekseyev, Mar 14 2019
STATUS
approved