Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

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

1,2

COMMENT

Row sums = A143545: (1, 4, 6, 4, 10, 6, 14,...) = componentwise addition of (1, 2, 3, 4, 5,...) and A061397: (0, 2, 3, 0, 5, 0, 7,...).

FORMULA

Triangle read by rows, T(n,k) = 2 if n is prime, 1 otherwise; 1<=k<=n

EXAMPLE

First few rows of the triangle =

1;

2, 2;

2, 2, 2;

1, 1, 1, 1;

2, 2, 2, 2, 2;

1, 1, 1, 1, 1, 1;

2, 2, 2, 2, 2, 2, 2;

...

CROSSREFS

Cf. A061397, A143545.

Sequence in context: A016016 A063059 A102675 this_sequence A031346 A087472 A054348

Adjacent sequences: A143541 A143542 A143543 this_sequence A143545 A143546 A143547

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 November 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research