This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A141687 Triangle read by rows: t(n,m) = 1 - Mod[(Prime[n] - Prime[m])/2, 2]. 0

%I

%S 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,

%T 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

%N Triangle read by rows: t(n,m) = 1 - Mod[(Prime[n] - Prime[m])/2, 2].

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

%e {1},

%e {0, 1},

%e {1, 0, 1},

%e {1, 0, 1, 1},

%e {0, 1, 0, 0, 1},

%e {0, 1, 0, 0, 1, 1},

%e {1, 0, 1, 1, 0, 0, 1},

%e {1, 0, 1, 1, 0, 0, 1, 1},

%e {0, 1, 0, 0, 1, 1, 0, 0, 1},

%e {1, 0, 1, 1, 0, 0, 1, 1, 0, 1},

%e {0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1}

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

%K nonn,tabl

%O 1,1

%A _Roger L. Bagula_, _Gary W. Adamson_ and _Mats Granvik_, Sep 09 2008

%E Edited by _N. J. A. Sloane_, Sep 13 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 .