symbolic_dynamics.graphs.mn_gap_shift

symbolic_dynamics.graphs.mn_gap_shift(m)[source]

Returns the minimal deterministic presentation of the mn-gap shift.

The mn-gap shift is the subshift of the full {0,1}-shift such that between any two 1’s within a point of the subshift, the number of 0’s occurring between them is a multiple of m.

Parameters
mint

Examples

>>> G = mn_gap_shift(3)
>>> len(sd.idot(G, G, "1001"))
0