OFFSET
0
LINKS
Niccolò Castronuovo, On the number of fixed points of the map gamma, arXiv:2102.02739 [math.NT], 2021.
EXAMPLE
Triangle begins:
[1];
[0, 1];
[0, 1, 1];
[0, 1, 0, 1];
[0, 1, 1, 0, 1];
[0, 1, 0, 0, 1, 1];
[0, 1, 1, 1, 0, 0, 1].
PROG
(PARI) incr(m, nn, vincr) = if ((vincr[1]<nn) && (vincr[2]<nn), m[vincr[1]+1, vincr[2]+1]++); m;
tabl(nn) = {my(m = matrix(nn, nn), istep=0, vstep, nvstep); for (istep=0, nn, if (istep==0, vstep = [[0, 0]], vstep = nvstep); nvstep = List(); for (i=1, #vstep, my(step=vstep[i]); m = incr(m, nn, step); if (istep, listput(nvstep, [step[1]+step[2], step[2]])); listput(nvstep, [3*step[1]+1-2*step[2], 2*step[1]+1-step[2]]); ); ); m; }
out(nn) = my(m=tabl(nn)); for(i=1, nn, print(vector(i, k, m[i, k])); );
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Michel Marcus, Feb 06 2021
STATUS
approved