A171369 Triangle read by rows, replace 2's with 3's in A169695.
1, 3, 3, 1, 3, 3, 3, 3, 1, 3, 3, 3, 3, 3, 3, 1, 3, 3, 3, 3, 3, 3, 3, 3, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3
Offset: 1
Examples
First few rows of the triangle = . 1; 3, 3; 1, 3, 3; 3, 3, 1, 3; 3, 3, 3, 3, 3; 1, 3, 3, 3, 3, 3; 3, 3, 3, 1, 3, 3, 3; 3, 3, 3, 3, 3, 3, 3, 1; ...
Formula
T(n,k) = 1 if n*(n-1)/2+k is a square, otherwise T(n,k) = 3.
Extensions
Description corrected by Robert Israel, Jan 03 2019
Comments