OFFSET
1,2
COMMENTS
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..11325
FORMULA
Triangle read by rows, T(n,k) = 2 if n is prime, 1 otherwise; 1<=k<=n.
T(n, k) = A143536(n, k) + 1. - Georg Fischer, Oct 31 2021
EXAMPLE
First few rows of the triangle =
1;
2, 2;
2, 2, 2;
1, 1, 1, 1;
2, 2, 2, 2, 2;
1, 1, 1, 1, 1, 1;
2, 2, 2, 2, 2, 2, 2;
...
MATHEMATICA
Table[1 + Boole[PrimeQ[n]], {n, 11}, {k, n}] // Flatten (* Michael De Vlieger, Oct 31 2021 *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Gary W. Adamson, Aug 23 2008
STATUS
approved