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.

Showing 1-3 of 3 results.

A003323 Multicolor Ramsey numbers R(3,3,...,3), where there are n 3's.

Original entry on oeis.org

2, 3, 6, 17
Offset: 0

Views

Author

Keywords

Comments

Definition: if the edges of a complete graph with at least a(n) nodes are colored with n colors then there is always a monochromatic triangle, and a(n) is the smallest number with this property.
Has it been proved that a(4)=62, or is it just an upper bound? - N. J. A. Sloane, Jun 12 2016
62 is an upper bound. It is probably not the correct value, which is likely closer to the lower bound of 51. - Jeremy F. Alm, Jun 12 2016
From Pontus von Brömssen, Jul 23 2021 (updated Mar 13 2025): (Start)
According to the survey by Radziszowski, the following are the best known bounds:
51 <= a(4) <= 62,
162 <= a(5) <= 307,
538 <= a(6) <= 1838,
1698 <= a(7) <= 12861.
(End)
In general, if a(n)=r then a(n+1) <= n*(r-1) + r + 1 = (n+1)*(r-1) + 2. - Roderick MacPhee, Mar 03 2023

Examples

			a(2)=6 since in a party with at least 6 people, there are three people mutually acquainted or three people mutually unacquainted.
		

References

  • G. Berman and K. D. Fryer, Introduction to Combinatorics. Academic Press, NY, 1972, p. 175.
  • S. Fettes, R. Kramer, S. Radziszowski, An upper bound of 62 on the classical Ramsey number R(3,3,3,3), Ars Combin. 72 (2004), 41-63.
  • H. W. Gould, personal communication.
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

A073591(n) is an upper bound on a(n).

Formula

The limit of a(n)^(1/n) exists and is at least 3.28 (possibly infinite). (See the survey by Radziszowski.) - Pontus von Brömssen, Jul 23 2021 (updated Mar 13 2025)
a(n) = min {k >= 0; A343607(k) > n}. - Pontus von Brömssen, Aug 01 2021
For n >= 4, a(n) <= n!*(e-1/6) + 1. - Elijah Beregovsky, Mar 22 2023

Extensions

Upper bound and additional comments from D. G. Rogers, Aug 27 2006
Better definition from Max Alekseyev, Jan 12 2008
Comment corrected by Brian Kell, Feb 14 2010
Changed a(4) to 62, following Fettes et al. - Jeremy F. Alm, Jun 08 2016
Entry revised by N. J. A. Sloane, Jun 12 2016
a(4) and a(5) deleted (since they are not known), a(0) prepended by Pontus von Brömssen, Aug 01 2021

A343606 Row n gives the lexicographically earliest edge coloring of the complete graph K_n with no monochromatic triangle.

Original entry on oeis.org

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

Views

Author

M. F. Hasler, Jun 23 2021

Keywords

Comments

The complete graph K_n has (n-1) + (n-2) + ... + 1 = n(n-1)/2 edges connecting the n vertices to each other. We associate a color to each edge such that there is no monochromatic triangle, i.e., no three vertices i < j < k such that the tree edges (i,j), (i,k) and (j,k) all have the same color.
For each n, consider the smallest possible number k of colors allowing such an edge-coloring. This table lists in row n, of length n(n-1)/2, the lexicographic earliest such coloring, i.e., the colors (between 0 and k-1) of edges AB = (1,2), AC = (1,3), BC = (2,3), ..., AZ = (1,n), ..., YZ = (n-1,n).
This is the lower left part (read by rows) or the upper right part (read by columns) of the symmetric n X n matrix where the element with indices (i,j) gives the color of the edge (i,j).
We conjecture that the rows converge to a limit in the sense that an increasingly long initial segment will always remain constant for all subsequent rows: for all k >= 0 there is n such that a(m,j) = a(n,j) for all m >= n and 1 <= j <= k.
Obviously, the first element a(n,1) = 0 for all n >= 2, and the first three elements will always be a(n, 1..3) = (0, 0, 1) for all n >= 3.
It seems that for n = 6 and n = 7, too, we have a(m,k) = a(n,k) for all m >= n and 1 <= k <= n(n-1)/2. Are there other row indices with this property? (This is of course much stronger than the requirement of convergence.)
Let us call min-color any solution that uses the minimum number of colors for the respective n. The restriction of any row n to the length of an earlier row m < n is always a solution for m, but not necessarily min-color: For n = 5 we have a solution using only 2 colors, but the lex earliest solutions for n >= 6 use 3 colors among the edges between the first 4 vertices. However, the lex earliest solution for n = 5, using only 2 colors, can be extended to solutions for all n >= 6. But the lex earliest solution for n = 4 cannot be extended to a min-color solution for n = 5.
Can one or the other of the following conjectures be (dis)proved?
Conjecture 1: For any n there is a min-color solution that can be extended to a min-color solution for all larger m > n?
Conjecture 2 (implies conjecture 1): For any n there is a min-color solution that can be restricted to a min-color solution for any smaller m < n.
Since Conjecture 2 does not make any assumption about the lexicographical order, it is independent of the convergence of the rows of this sequence mentioned above.

Examples

			Rows n = 0 and n = 1 have length n(n-1)/2 = 0, since the empty graph K_0 and the singleton graph K_1 have no edges.
Starting with n = 2, the graph K_n has a positive number n(n-1)/2 of edges:
   n | Coloring of edges (1,2) = AB, (1,3) = AC, (2,3) = BC, ..., (n-1,n) = YZ
  ---+------------------------------------------------------------------------
   2 | 0      (The only non-diagonal element, in row/col. 2 of the color matrix.)
   3 | 0; 0, 1       (Rows 2 and 3 of the subdiagonal part of the color matrix.)
   4 | 0; 0, 1; 1, 0, 0      (Rows 2, 3 and 4 below the diagonal of that matrix.)
   5 | 0; 0, 1; 1, 0, 1; 1, 1, 0, 0
   6 | 0; 0, 1; 0, 1, 2; 0, 2, 1, 1; 1, 0, 0, 0, 0
   7 | 0; 0, 1; 0, 1, 2; 0, 2, 1, 1; 1, 0, 0, 0, 0; 1, 0, 0, 0, 0, 2
   8 | ...; 2, 0, 0, 0, 0, 1, 1                           (where ... = row 7)
   9 | ...; 2, 0, 0, 0, 0, 1, 2; 2, 0, 0, 0, 0, 2, 1, 1
  10 | ...; 2, 0, 0, 0, 0, 1, 2; 2, 0, 0, 0, 1, 2, 1, 1; 2, 2, 1, 1, 0, 2, 1, 1, 0
  11 | ...; 2, 0, 0, 0, 1, 1, 2; 2, 0, 0, 0, 2, 2, 1, 1; 2, 2, 1, 2, 0, 2, 1, 1, 0
     |                         ; 2, 2, 2, 1, 0, 2, 1, 0, 0, 1
The graph K_2 consists of only one edge with color 0.
The graph K_3 is a triangle, two edges get color 0, the third one color 1.
The graph K_4 is a square with its two diagonals; the edges AB, AC, BC, AD, BD and CD get colors 0, 0, 1, 1, 0 and 0, respectively.
The given solution for n = 5 can be extended to a solution for n = 6 by appending [0, 1, 2, 0, 2]. This solution comes lexicographically later because edges AD, BD, CD (row 4/col. 4 of the "color matrix") are colored (1, 0, 1) instead of (0, 1, 2), but uses only 2 colors for all edges not adjacent to the last vertex F.
		

Crossrefs

Length of row n is A000217(n-1).
Total number of elements in rows 0 through n is A000292(n-1).
Number of distinct colors in row n is A343607(n).

Programs

  • PARI
    row(n)={ local(C=vector(n*(n-1)/2), k, i=matrix(n, n, i, j, if(i= k, if(C[k]++
    				

A343627 Decimal expansion of the Prime Zeta modulo function P_{3,1}(7) = Sum 1/p^7 over primes p == 1 (mod 3).

Original entry on oeis.org

0, 0, 0, 0, 0, 1, 2, 3, 1, 3, 7, 2, 2, 5, 5, 4, 8, 1, 9, 1, 9, 6, 7, 4, 4, 4, 8, 9, 4, 7, 1, 2, 4, 4, 4, 4, 0, 0, 3, 9, 3, 6, 6, 6, 9, 0, 5, 7, 8, 6, 6, 2, 6, 3, 7, 0, 7, 2, 8, 1, 9, 6, 3, 7, 0, 6, 2, 0, 2, 1, 0, 5, 7, 4, 1, 2, 0, 6, 7, 2, 6, 0, 0, 6, 9, 5, 5, 9, 2, 2, 1, 2, 7, 4, 9, 2, 4, 8, 2, 5
Offset: 0

Views

Author

M. F. Hasler, Apr 23 2021

Keywords

Comments

The Prime Zeta modulo function at 7 for primes of the form 3k+1 is Sum_{primes in A002476} 1/p^7 = 1/7^7 + 1/13^7 + 1/19^7 + 1/31^7 + ...
The complementary Sum_{primes in A003627} 1/p^7 is given by P_{3,2}(7) = A085967 - 1/3^7 - (this value here) = 0.0078253541130504928742517... = A343607.

Examples

			P_{3,1}(7) = 1.231372255481919674448947124444003936669057866...*10^-6
		

Crossrefs

Cf. A175645, A343624 - A343629 (P_{3,1}(3..9): same for 1/p^n, n = 3..9), A343607 (P_{3,2}(7): same for p==2 (mod 3)), A086037 (P_{4,1}(7): same for p==1 (mod 4)).
Cf. A085967 (PrimeZeta(7)), A002476 (primes of the form 3k+1).

Programs

  • Mathematica
    With[{s=7}, Do[Print[N[1/2 * Sum[(MoebiusMu[2*n + 1]/(2*n + 1)) * Log[(Zeta[s + 2*n*s]*(Zeta[s + 2*n*s, 1/6] - Zeta[s + 2*n*s, 5/6])) / ((1 + 2^(s + 2*n*s))*(1 + 3^(s + 2*n*s)) * Zeta[2*(1 + 2*n)*s])], {n, 0, m}], 120]], {m, 100, 500, 100}]] (* adopted from Vaclav Kotesovec's code in A175645 *)
  • PARI
    s=0; forprimestep(p=1, 1e8, 3, s+=1./p^7); s \\ For illustration: primes up to 10^N give 6N+2 (= 50 for N=8) correct digits.
    
  • PARI
    A343627_upto(N=100)={localprec(N+5);digits((PrimeZeta31(7)+1)\.1^N)[^1]} \\ cf. A175644 for PrimeZeta31
Showing 1-3 of 3 results.