OFFSET
0,5
COMMENTS
a(n) is also the number of forbidden patterns of length n of the tent map x -> 1-|1-2x| in [0,1].
LINKS
S. Elizalde and Y. Liu, On basic forbidden patterns of functions, Discrete Appl. Math. 159 (2011), 1207-1216.
FORMULA
a(n) = n! - A193284(n).
EXAMPLE
a(3) = 1 because the only forbidden pattern of length 3 is 321.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Sergi Elizalde, Jul 20 2011
EXTENSIONS
a(0)=0 prepended by Alois P. Heinz, Mar 02 2020
STATUS
approved