login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A141687 Triangle read by rows: t(n,m) = 1 - ((prime(n) - prime(m))/2 mod 2). 1
1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0 (list; table; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Row sums are {1, 1, 2, 3, 2, 3, 4, 5, 4, 6, 5, ...}.

LINKS

G. C. Greubel, Rows n=1..100 of triangle, flattened

EXAMPLE

{1},

{0, 1},

{1, 0, 1},

{1, 0, 1, 1},

{0, 1, 0, 0, 1},

{0, 1, 0, 0, 1, 1},

{1, 0, 1, 1, 0, 0, 1},

{1, 0, 1, 1, 0, 0, 1, 1},

{0, 1, 0, 0, 1, 1, 0, 0, 1},

{1, 0, 1, 1, 0, 0, 1, 1, 0, 1},

{0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1}

MATHEMATICA

Table[Table[1 - Mod[(Prime[n] - Prime[m])/2, 2], {m, 2, n}], {n, 2, 12}]; Flatten[%]

CROSSREFS

Sequence in context: A166946 A144612 A174208 * A305385 A204418 A260190

Adjacent sequences:  A141684 A141685 A141686 * A141688 A141689 A141690

KEYWORD

nonn,tabl

AUTHOR

Roger L. Bagula, Gary W. Adamson and Mats Granvik, Sep 09 2008

EXTENSIONS

Edited by N. J. A. Sloane, Sep 13 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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 15 04:47 EDT 2021. Contains 345043 sequences. (Running on oeis4.)