cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A383181 Family of 2-colorings of {1..7824} with no monochromatic Pythagorean triples.

Original entry on oeis.org

0, 0, 2, 0, 1, 0, 1, 2, 0, 1, 0, 2, 2, 0, 1, 1, 0, 1, 0, 2, 2, 0, 0, 2, 2, 0, 1, 1, 1, 2, 0, 1, 0, 1, 1, 0, 0, 0, 2, 2, 1, 1, 2, 2, 2, 0, 0, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 0, 1, 2, 2, 2, 1, 1, 1, 0, 2, 2, 1, 0, 1, 0, 1, 1, 1, 2, 2, 0, 2, 1, 2, 0, 1, 1, 1, 1, 1, 1, 1, 2, 0, 1, 0, 2, 2, 2, 2, 1, 2
Offset: 1

Views

Author

David Dewan, Apr 18 2025

Keywords

Comments

We use the codes: 1=red, 2=blue, 0=unconstrained (may be red or blue).
Choose any Pythagorean triangle (r,s,t) with t<=7824, then a(r), a(s), a(t) cannot all be the same color (see Examples).
Solution and proof by Heule, Kullmann, and Marek (2016).
Because each of the 2899 numbers for which a(n)=0 can be independently colored red or blue, this sequence represents 2^2899 unique 2-colorings with no monochromatic Pythagorean triples.
There is no 2-coloring of {1..7825} with no monochromatic Pythagorean triples.

Examples

			The triple (5,12,13) is not monochromatic:
  a(5)= 1 red,
  a(12)=2 blue,
  a(13)=2 blue.
The triple (3,4,5) is not monochromatic whether 4 is red or blue:
  a(3)=2 blue,
  a(4)=0 red or blue,
  a(5)=1 red.
		

Crossrefs