A133698 Triangle, diagonal = A001227 with the rest zeros.
1, 0, 1, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2
Offset: 1
Examples
First few rows of the triangle are: 1; 0, 1; 0, 0, 2 0, 0, 0, 1; 0, 0, 0, 0, 2; 0, 0, 0, 0, 0, 2; 0, 0, 0, 0, 0, 0, 2; 0, 0, 0, 0, 0, 0, 0, 1; 0, 0, 0, 0, 0, 0, 0, 0, 3; 0, 0, 0, 0, 0, 0, 0, 0, 0, 2; 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2; 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2; ...
Links
Programs
-
PARI
A000265(n) = (n>>valuation(n,2)); A133698(n) = if(ispolygonal(n,3), numdiv(A000265((sqrtint(1+(n*8))-1)/2)), 0); \\ Antti Karttunen, Jan 18 2025
Extensions
Offset corrected from 0 to 1 and data section extended to a(105) by Antti Karttunen, Jan 18 2025
Comments