Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A157423
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A157423 Triangle read by rows, T(n,k) = 0 if (n-k+1) is prime, else 1. +0
3
1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1 (list; table; graph; listen)
OFFSET

1,1

COMMENT

Row sums = A062298: (1, 1, 1, 2, 2, 3, 3, 4, 5, 6,...). Eigensequence of the triangle = A052284: (1, 1, 1, 2, 3, 5, 7, 11, 17, 27,...).

FORMULA

Triangle read by rows, T(n,k) = 0 if (n-k+1) is prime, else 1. By columns, A005171 in every column: where A005171(k) = 0 if k is prime.

EXAMPLE

First few rows of the triangle =

1;

0, 1;

0, 0, 1;

1, 0, 0, 1;

0, 1, 0, 0, 1;

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

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

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

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

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

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

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

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

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

...

Example: T(6,4) = 0 since (6 - 4 + 1) = 3, prime.

CROSSREFS

Cf. A005171, A062298, A052284, A157424

Sequence in context: A152490 A145273 A120522 this_sequence A098033 A135022 A071982

Adjacent sequences: A157420 A157421 A157422 this_sequence A157424 A157425 A157426

KEYWORD

nonn,tabl

AUTHOR

Gary W. Adamson & Mats Granvik (qntmpkt(AT)yahoo.com), Feb 28 2009

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 November 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research