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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A143538 Triangle read by rows, T(n,k) = 1 if k is prime, 0 otherwise; 1<=k<=n. 2
0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1 (list; table; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Row sums = A000720, PrimePi(n), the number of primes through n: (0, 1, 2, 2, 3, 3, 4, 4, 4, 4,...).

FORMULA

Triangle read by rows, T(n,k) = 1 if k is prime, 0 otherwise; 1<=k<=n. A000012 * (A010051 * 0^(n-k)). A010051 * 0^(n-k) = an infinite lower triangular matrix with A010051 (the characteristic function of the primes) as the main diagonal and the rest zeros. The multiplier A000012 takes partial sums of column terms.

EXAMPLE

First few rows of the triangle =

0;

0, 1;

0, 1, 1;

0, 1, 1, 0;

0, 1, 1, 0, 1;

0, 1, 1, 0, 1, 0;

0, 1, 1, 0, 1, 0, 1;

...

CROSSREFS

Cf. A010051, A000720.

Sequence in context: A092436 A164056 A163539 * A011656 A043545 A094754

Adjacent sequences:  A143535 A143536 A143537 * A143539 A143540 A143541

KEYWORD

nonn,tabl

AUTHOR

Gary W. Adamson (qntmpkt(AT)yahoo.com), Aug 23 2008

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

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

Last modified February 15 16:56 EST 2012. Contains 205825 sequences.