reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
(MAGMAMagma) [Round(Sqrt(2*(n-1)))+1: n in [2..60]]; // Vincenzo Librandi, Jun 23 2011
proposed
editing
editing
proposed
(Python)
from math import isqrt
def A003057(n): return (k:=isqrt(m:=n-1<<1))+int((m<<2)>(k<<2)*(k+1)+1)+1 # Chai Wah Wu, Jul 26 2022
approved
editing
proposed
approved
editing
proposed
a(n) is the pair chromatic number of an empty graph with n vertices. (The pair chromatic number of a graph G is the smallest number of colors for which G has a coloring where every vertex has two distinct colors, no adjacent vertices have a common color, and no pair of colors is repeated.) - Allan Bickle, Dec 26 2021
a(n) is the pair chromatic number of an empty graph. (The pair chromatic number of a graph G is the smallest number of colors for which G has a coloring where every vertex has two distinct colors, no adjacent vertices have a common color, and no pair of colors is repeated.) - _Allan Bickle_, Dec 26 2021
proposed
editing