*****************************************************************************
*       www.FindStat.org - The Combinatorial Statistic Finder               *
*                                                                           *
*       Copyright (C) 2019 The FindStatCrew <info@findstat.org>             *
*                                                                           *
*    This information is distributed in the hope that it will be useful,    *
*    but WITHOUT ANY WARRANTY; without even the implied warranty of         *
*    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                   *
*****************************************************************************

-----------------------------------------------------------------------------
Statistic identifier: St001244

-----------------------------------------------------------------------------
Collection: Dyck paths

-----------------------------------------------------------------------------
Description: The number of simple modules of projective dimension one that are not 1-regular for the Nakayama algebra associated to a Dyck path.

For the projective dimension see [[St001007]] and for 1-regularity see [[St001126]]. After applying the inverse zeta map [[Mp00032]], this statistic matches the number of rises of length at least 2 [[St000659]].

-----------------------------------------------------------------------------
References: 

-----------------------------------------------------------------------------
Code:
def statistic(D):
    c = [ i+2 for i in reversed(D.to_area_sequence()) ] + [1]
    d = [1] + [ i+2 for i in D.reverse().to_area_sequence() ]
    return sum(1 for i in range(len(c)-1) if c[i]-c[i+1] == 1 and d[i+1]-d[i] != 1 )


-----------------------------------------------------------------------------
Statistic values:

[1,0]                     => 0
[1,0,1,0]                 => 1
[1,1,0,0]                 => 0
[1,0,1,0,1,0]             => 1
[1,0,1,1,0,0]             => 1
[1,1,0,0,1,0]             => 1
[1,1,0,1,0,0]             => 1
[1,1,1,0,0,0]             => 0
[1,0,1,0,1,0,1,0]         => 1
[1,0,1,0,1,1,0,0]         => 1
[1,0,1,1,0,0,1,0]         => 2
[1,0,1,1,0,1,0,0]         => 1
[1,0,1,1,1,0,0,0]         => 1
[1,1,0,0,1,0,1,0]         => 1
[1,1,0,0,1,1,0,0]         => 1
[1,1,0,1,0,0,1,0]         => 1
[1,1,0,1,0,1,0,0]         => 2
[1,1,0,1,1,0,0,0]         => 1
[1,1,1,0,0,0,1,0]         => 1
[1,1,1,0,0,1,0,0]         => 1
[1,1,1,0,1,0,0,0]         => 1
[1,1,1,1,0,0,0,0]         => 0
[1,0,1,0,1,0,1,0,1,0]     => 1
[1,0,1,0,1,0,1,1,0,0]     => 1
[1,0,1,0,1,1,0,0,1,0]     => 2
[1,0,1,0,1,1,0,1,0,0]     => 1
[1,0,1,0,1,1,1,0,0,0]     => 1
[1,0,1,1,0,0,1,0,1,0]     => 2
[1,0,1,1,0,0,1,1,0,0]     => 2
[1,0,1,1,0,1,0,0,1,0]     => 1
[1,0,1,1,0,1,0,1,0,0]     => 2
[1,0,1,1,0,1,1,0,0,0]     => 1
[1,0,1,1,1,0,0,0,1,0]     => 2
[1,0,1,1,1,0,0,1,0,0]     => 2
[1,0,1,1,1,0,1,0,0,0]     => 1
[1,0,1,1,1,1,0,0,0,0]     => 1
[1,1,0,0,1,0,1,0,1,0]     => 1
[1,1,0,0,1,0,1,1,0,0]     => 1
[1,1,0,0,1,1,0,0,1,0]     => 2
[1,1,0,0,1,1,0,1,0,0]     => 1
[1,1,0,0,1,1,1,0,0,0]     => 1
[1,1,0,1,0,0,1,0,1,0]     => 1
[1,1,0,1,0,0,1,1,0,0]     => 1
[1,1,0,1,0,1,0,0,1,0]     => 2
[1,1,0,1,0,1,0,1,0,0]     => 2
[1,1,0,1,0,1,1,0,0,0]     => 2
[1,1,0,1,1,0,0,0,1,0]     => 2
[1,1,0,1,1,0,0,1,0,0]     => 1
[1,1,0,1,1,0,1,0,0,0]     => 2
[1,1,0,1,1,1,0,0,0,0]     => 1
[1,1,1,0,0,0,1,0,1,0]     => 1
[1,1,1,0,0,0,1,1,0,0]     => 1
[1,1,1,0,0,1,0,0,1,0]     => 1
[1,1,1,0,0,1,0,1,0,0]     => 2
[1,1,1,0,0,1,1,0,0,0]     => 1
[1,1,1,0,1,0,0,0,1,0]     => 1
[1,1,1,0,1,0,0,1,0,0]     => 2
[1,1,1,0,1,0,1,0,0,0]     => 2
[1,1,1,0,1,1,0,0,0,0]     => 1
[1,1,1,1,0,0,0,0,1,0]     => 1
[1,1,1,1,0,0,0,1,0,0]     => 1
[1,1,1,1,0,0,1,0,0,0]     => 1
[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1,0,1,0,1,0,0,1,0,0] => 2
[1,1,1,0,1,0,1,0,1,0,0,0] => 3
[1,1,1,0,1,0,1,1,0,0,0,0] => 2
[1,1,1,0,1,1,0,0,0,0,1,0] => 2
[1,1,1,0,1,1,0,0,0,1,0,0] => 1
[1,1,1,0,1,1,0,0,1,0,0,0] => 2
[1,1,1,0,1,1,0,1,0,0,0,0] => 2
[1,1,1,0,1,1,1,0,0,0,0,0] => 1
[1,1,1,1,0,0,0,0,1,0,1,0] => 1
[1,1,1,1,0,0,0,0,1,1,0,0] => 1
[1,1,1,1,0,0,0,1,0,0,1,0] => 1
[1,1,1,1,0,0,0,1,0,1,0,0] => 2
[1,1,1,1,0,0,0,1,1,0,0,0] => 1
[1,1,1,1,0,0,1,0,0,0,1,0] => 1
[1,1,1,1,0,0,1,0,0,1,0,0] => 2
[1,1,1,1,0,0,1,0,1,0,0,0] => 2
[1,1,1,1,0,0,1,1,0,0,0,0] => 1
[1,1,1,1,0,1,0,0,0,0,1,0] => 1
[1,1,1,1,0,1,0,0,0,1,0,0] => 2
[1,1,1,1,0,1,0,0,1,0,0,0] => 2
[1,1,1,1,0,1,0,1,0,0,0,0] => 2
[1,1,1,1,0,1,1,0,0,0,0,0] => 1
[1,1,1,1,1,0,0,0,0,0,1,0] => 1
[1,1,1,1,1,0,0,0,0,1,0,0] => 1
[1,1,1,1,1,0,0,0,1,0,0,0] => 1
[1,1,1,1,1,0,0,1,0,0,0,0] => 1
[1,1,1,1,1,0,1,0,0,0,0,0] => 1
[1,1,1,1,1,1,0,0,0,0,0,0] => 0

-----------------------------------------------------------------------------
Created: Aug 08, 2018 at 21:27 by Rene Marczinzik

-----------------------------------------------------------------------------
Last Updated: Sep 05, 2018 at 10:32 by Christian Stump