olymmath

SILK-ROAD 2018 Problem 3

    Given the natural nn . We shall call word sequence from nn letters of the alphabet, and distance ρ(A,B)\rho(A, B) between words A=a1a2…anA=a_1a_2\dots a_n and B=b1b2…bnB=b_1b_2\dots b_n , the number of digits in which they differ (that is, the number of such ii , for which ai≠bia_i\ne b_i ). We will say that the word CC lies between words AA and BB , if ρ(A,B)=ρ(A,C)+ρ(C,B)\rho (A,B)=\rho(A,C)+\rho(C,B) . What is the largest number of words you can choose so that among any three, there is a word lying between the other two?

    Dataset text AI-MO AoPS. Quoted with source.

    Solutions

    No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

    Add a solution

    Similar problems

    These problems have the most words in common with this statement.

    Locator silk-road/2018/p3 · Tag 1W1FZXZSSA · Edit this page on GitHub · Keys: j next, k previous