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

 

Logo

Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".

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 | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified December 10 19:26 EST 2016. Contains 279006 sequences.