OFFSET
1,1
COMMENTS
Triangle can be used as an operator.
LINKS
EXAMPLE
Table begins:
1;
0,0;
0,0,0;
0,1,0,0;
0,0,0,0,0;
0,0,0,0,0,0;
0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0;
0,0,1,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0,0,0,0,0;
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;
0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0;
PROG
(PARI)
up_to = 97461; \\ binomial(441+1, 2), 441 = 21^2
A156297tr(n, k) = ((k*k) == n);
A156297list(up_to) = { my(v = vector(up_to), i=0); for(n=1, oo, for(k=1, n, i++; if(i > up_to, return(v)); v[i] = A156297tr(n, k))); (v); };
v156297 = A156297list(up_to);
A156297(n) = v156297[n]; \\ Antti Karttunen, Dec 24 2018
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Mats Granvik, Feb 07 2009
STATUS
approved