login
This site is supported by donations to The OEIS Foundation.

 

Logo

Many excellent designs for a new banner were submitted. We will use the best of them in rotation.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A143536 Triangle read by rows, T(n,k) = 1 if n is prime, 0 otherwise. 3
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 (list; table; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Row sums = A061397: (0, 2, 3, 0, 5, 0, 7,...).

LINKS

Reinhard Zumkeller, Rows n = 1..125 of table, flattened

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. A143535, A061397.

Cf. A010051.

Sequence in context: A100047 A080891 A112713 * A080110 A122895 A097325

Adjacent sequences:  A143533 A143534 A143535 * A143537 A143538 A143539

KEYWORD

nonn,tabl

AUTHOR

Gary W. Adamson, Aug 23 2008

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified April 19 19:16 EDT 2014. Contains 240777 sequences.