Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A143541
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A143541 Triangle read by rows, T(n,k) = 1 if n & k are prime, 0 otherwise; 1<=k<=n. +0
3
0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 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, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1 (list; table; graph; listen)
OFFSET

1,1

COMMENT

Row sums = the prime count, A049084: (0, 1, 2, 0, 3, 0, 4, 0, 0, 0, 5,...).

FORMULA

Triangle read by rows, T(n,k) = 1 if n & k are prime, 0 otherwise. n-th row = n zeros if n is a nonprime; first n terms of A010051 (the characteristic function of primes) if n is prime.

EXAMPLE

First few rows of the triangle are:

0;

0, 1;

0, 1, 1;

0, 0, 0, 0;

0, 1, 1, 0, 1;

0, 0, 0, 0, 0, 0;

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

...

Row 5 = first 5 terms of A010051: (0, 1, 1, 0, 1).

T(5,3) = 1 since (5,3) are prime; but T(5,4) = 0 since 4 is a nonprime.

CROSSREFS

Cf. A010051, A049084.

Sequence in context: A144608 A095907 A056051 this_sequence A090173 A072784 A092436

Adjacent sequences: A143538 A143539 A143540 this_sequence A143542 A143543 A143544

KEYWORD

nonn,tabl

AUTHOR

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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 20 00:58 EST 2009. Contains 171054 sequences.


AT&T Labs Research