Identifier
Identifier
Values
['A',1] generating graphics... => 2
['A',2] generating graphics... => 5
['B',2] generating graphics... => 6
['G',2] generating graphics... => 8
['A',3] generating graphics... => 9
['B',3] generating graphics... => 12
['C',3] generating graphics... => 12
['A',4] generating graphics... => 14
['B',4] generating graphics... => 20
['C',4] generating graphics... => 20
['D',4] generating graphics... => 16
['F',4] generating graphics... => 28
['A',5] generating graphics... => 20
['B',5] generating graphics... => 30
['C',5] generating graphics... => 30
['D',5] generating graphics... => 25
['A',6] generating graphics... => 27
['B',6] generating graphics... => 42
['C',6] generating graphics... => 42
['D',6] generating graphics... => 36
['E',6] generating graphics... => 42
['A',7] generating graphics... => 35
['B',7] generating graphics... => 56
['C',7] generating graphics... => 56
['D',7] generating graphics... => 49
['E',7] generating graphics... => 70
['A',8] generating graphics... => 44
['B',8] generating graphics... => 72
['C',8] generating graphics... => 72
['D',8] generating graphics... => 64
['E',8] generating graphics... => 128
click to show generating function       
Description
The number of almost positive roots of a finite Cartan type.
A root in the root system of a Cartan type is almost positive if it is either positive or simple negative. These are known to be in bijection with cluster variables in the cluster algebra of the given Cartan type, see [1].
This is also equal to the sum of the degrees of the fundamental invariants of the group.
References
[1] Fomin, S., Zelevinsky, A. Cluster algebras. II. Finite type classification MathSciNet:2004457
Code
def statistic(cartan_type):
    W = ReflectionGroup(cartan_type)
    return W.rank() + W.rank()*W.coxeter_number() / 2

Created
Jun 25, 2017 at 10:20 by Christian Stump
Updated
Aug 30, 2017 at 21:26 by Christian Stump