login
A143536
Triangle read by rows, T(n,k) = 1 if n is prime, 0 otherwise.
4
0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
OFFSET
1,1
COMMENTS
Row sums = A061397: (0, 2, 3, 0, 5, 0, 7,...).
LINKS
FORMULA
Triangle read by rows, T(n,k) = 1 if n is prime, 0 otherwise. Mobius transform (A054525) of triangle A143535.
EXAMPLE
First few rows of the triangle =
0;
1, 1;
1, 1, 1;
0, 0, 0, 0;
1, 1, 1, 1, 1;
0, 0, 0, 0, 0, 0;
1, 1, 1, 1, 1, 1, 1;
...
PROG
(Haskell)
a143536 n k = a143536_tabl !! (n-1) !! (k-1)
a143536_row n = a143536_tabl !! (n-1)
a143536_tabl = zipWith take [1..] $ map repeat a010051_list
-- Reinhard Zumkeller, Mar 21 2014
CROSSREFS
Cf. A010051.
Sequence in context: A276398 A204549 A112713 * A204437 A080110 A286419
KEYWORD
nonn,tabl
AUTHOR
Gary W. Adamson, Aug 23 2008
STATUS
approved