Chip-eating game on a layout of n piles of n chips: two players alternate, a chip may be eaten only if its neighbours are still covered; count states and analyse optimal strategies, then repeat on a pyramid layout.

  1. War at the aperitif.

Anita and Auriane take an aperitif together. They do not finish it, and instead have before them a heap of old-fashioned plain chips, composed of piles of chips, with an integer. They eat the chips in turn, each in turn playing the role of eater. A chip in a pile or at the end of a row may be eaten only if the chips beside it have not yet been uncovered, that is, only the chip at the top of a pile, or at the end of a row. They must eat the chips one at a time, taking at least one chip and at most all the uncovered chips. The game continues as long as there are chips, but in the end no chip is left lying on the table. Anita begins.

An example of a game is shown in figure 1. At each step, the chips in blue are those that can be eaten. In total, Anita ate chips and Auriane ate chips during this game.

  1. How many different possible states are there for the heap of chips?

  2. Anita and Auriane are gourmands and each therefore seeks to eat as many chips as possible during the game.

    a) In this question, Auriane plays in a gluttonous manner: on her turn, she always takes all the chips she can. How many chips at most can Anita guarantee to eat, as a function of ? b) Now Auriane thinks before playing. How many chips at most can Anita guarantee to eat, no matter how Auriane plays, as a function of ?

  3. In this question, the chip at the bottom left is a delicious barbecue chip that Anita absolutely wants to eat. As a function of , how can Anita guarantee to eat it?

  4. In this question, the row number (counted from the bottom) is made of chips with a particular flavour. We call satisfaction the value , where is the number of ordinary chips and the number of special chips Anita eats, being the value of a special chip. As a function of and , what is the maximal satisfaction Anita can guarantee to obtain, no matter how Auriane plays, in the following special cases:

    a) the chips are not good, so of value ; b) the chips are particularly good, so of value ?

Now the chips are laid out as a pyramid: on the bottom row there are chips, on the row above , and so on up to the top, where there is a single chip. A chip can no longer be eaten as before: a chip may be eaten if the two chips just below it are no longer there.

An example of a game is shown in figure 2. At each step, the chips in blue are those that can be eaten. In total, Anita ate chips and Auriane ate chips during this game.

  1. Repeat questions 1 to 3 in this setting.

Complementary question. Propose and study other directions of research.

Topic: Combinatoria, Logica Metodo: Casework, Backward, Ricorsione, Estremalità Abilita: Conteggio sistematico, Modellizzazione, Casework accurato Area: Combinatoria, Logica e Probabilita Fonte: apri PDF

Gioco che mangia chip su un layout di n pile di n chip: due giocatori si alternano, un chip può essere mangiato solo se i suoi vicini sono ancora coperti; contare gli stati e analizzare le strategie ottimali, quindi ripetere su un layout di piramide.

  1. La guerra all’aperitivo.

Anita e Auriane prendono un aperitivo insieme. Non la finiscono, ma invece hanno davanti a sé un mucchio di chip semplici antichi, composti da pile di chip , con un numero intero. Mangiano le patatine a turno, ognuno a turno svolgendo il ruolo di mangiatore. Un chip in pila o alla fine di una fila può essere mangiato solo se i chips accanto non sono ancora stati scoperti, cioè solo il chip in cima ad una pila o alla fine di una fila. Devono mangiare le patatine una alla volta, prendendo almeno una patatina e al massimo tutte le patatine scoperte. La partita continua finché ci sono i chip, ma alla fine non resta più nessun chip a tavola. Anita inizia.

Un esempio di gioco è mostrato nella figura 1. A ogni passo, le patatine in blu sono quelle che si possono mangiare. In totale, Anita ha mangiato i chip e Auriane ha mangiato i chip durante questa partita.

  1. Quanti stati possibili ci sono per la pila di chip?

  2. Anita e Auriane sono gourmand e quindi ognuno cerca di mangiare il maggior numero possibile di patatine durante il gioco.

a) In questa domanda, Auriane gioca in modo grassone: a sua volta, prende sempre tutte le patatine che può. Quante cippe al massimo può Anita garantire di mangiare, in funzione di ? Ora Auriane pensa prima di giocare. Quante cippe al massimo Anita può garantire di mangiare, non importa come Auriane gioca, in funzione di ?

  1. In questa domanda, il chip in basso a sinistra è un delizioso chip da barbecue che Anita vuole assolutamente mangiare. In funzione di , come può Anita garantire di mangiarlo?

  2. In questa domanda, il numero di riga (calcolato dalla parte inferiore) è costituito da patatine con un sapore particolare. Chiamiamo soddisfazione il valore , dove è il numero di chip ordinari e il numero di chip speciali che Anita mangia, è il valore di un chip speciale. Come funzione di e , qual è la massima soddisfazione che Anita può garantire di ottenere, indipendentemente dal modo in cui Auriane gioca, nei seguenti casi speciali:

a) i chip non sono buoni, quindi di valore ; b) i chip sono particolarmente buoni, quindi di valore ?

Ora i chip sono disposti come una piramide: nella riga inferiore ci sono i chip , nella riga sopra , e così via fino alla cima, dove c’è un solo chip. Un chip non può più essere mangiato come prima: un chip può essere mangiato se i due chip appena sotto di esso non ci sono più.

Un esempio di gioco è mostrato nella figura 2. A ogni passo, le patatine in blu sono quelle che si possono mangiare. In totale, Anita ha mangiato i chip e Auriane ha mangiato i chip durante questa partita.

  1. Ripetere le domande da 1 a 3 in questo contesto.

Domanda complementare. Proporre e studiare altre direzioni di ricerca.

src_tfjm_2026__Q01

On the Nine Men’s Morris board, define a ‘mill figure’: points and straight segments with each segment holding 3 points and each point on 2 segments; find minimal point count, connectedness, similarity classes and counting, with a generalized variant.

  1. The game of the Mill.

Alphonse and Beatrice are intrigued by the board of the Game of the Mill, see Figure 3.

They notice that it is a geometric figure made of points and straight sticks (segments), satisfying the conditions:

a) Each stick contains exactly points. b) Each point belongs to exactly sticks. c) If two distinct sticks intersect, the three points are not collinear.

They wonder whether there are other figures with these properties, which they call a figure of the mill (figure du moulin). For a figure of the mill, let be the total number of points.

  1. What is the minimal such that there exists a figure of the mill with points?

We say that a figure of the mill is connected if one can go from any point to any other point by following the sticks.

  1. Determine the for which there exists a connected figure of the mill with points.

Beatrice notices that for the classic mill figure, the three points of a stick are exactly its two ends and its middle.

  1. Repeat the previous question with this constraint.

We return to the initial constraints a), b) and c). Alphonse notices that sometimes two figures which seem different are in fact not. We say that two figures are similar when there exists a bijection between the points respecting the sticks (three points lie on the same stick in the first figure if and only if their images lie on the same stick in the second).

For example, the mill figure shown in Figure 4 is similar to the classic mill figure of Figure 3.

  1. How many figures of the mill are there with points, identifying similar figures?

Beatrice now wishes to generalize: each stick contains exactly points (with ) and exactly sticks pass through each point (with ).

  1. Repeat questions 2 and 4 in this setting.

Complementary question. Propose and study other directions of research.

Topic: Combinatoria, Geometria piana Metodo: Grafi, Biiezione, Casework, Conteggio Abilita: Astrazione, Ragionamento geometrico, Conteggio sistematico Area: Combinatoria, Logica e Probabilita, Geometria Fonte: apri PDF

Sulla lavagna Morris dei Nove Uomini, definire una ‘figura di miglio’: punti e segmenti dritti con ciascun segmento che detiene 3 punti e ogni punto su 2 segmenti; trovare il numero minimo di punti, la connessione, le classi di somiglianza e il conteggio, con una variante generalizzata.

  1. Il gioco del mulino.

Alphonse e Beatrice sono intrigati dal consiglio del gioco del mulino, vedi figura 3.

Essi notano che si tratta di una figura geometrica fatta di punti e punti retti (segmenti), che soddisfa le condizioni:

a) Ogni bastone contiene esattamente punti. b) Ogni punto appartiene esattamente ai bastoni . c) Se due bastoni distinti si incrociano, i tre punti non sono collineari.

Essi si chiedono se esistano altre figure con queste proprietà, che chiamano figura del mulino (figure du moulin). Per una figura del mulino, è il numero totale di punti.

  1. Qual è il minimo tale che esista una figura del mulino con punti?

Diciamo che una figura del mulino è connessa se si può andare da un punto all’altro seguendo i bastoni.

  1. Determinare il per il quale esiste una figura connessa del mulino con punti .

Beatrice nota che per la classica figura del mulino, i tre punti di un bastone sono esattamente le sue due estremità e il suo centro.

  1. Ripetere la domanda precedente con questo vincolo.

Torniamo alle restrizioni iniziali a), b) e c). Alphonse osserva che a volte due cifre che sembrano diverse non lo sono in realtà. Diciamo che due figure sono simili quando esiste una bijezione tra i punti che riguardano i bastoni (tre punti si trovano sullo stesso bastone nella prima figura se e solo se le loro immagini si trovano sullo stesso bastone nella seconda).

Per esempio, la figura del mulino mostrata nella figura 4 è simile alla figura classica del mulino della figura 3.

  1. Quante cifre del mulino sono presenti con punti , identificando cifre simili?

Beatrice desidera ora generalizzare: ogni bastone contiene esattamente punti (con ) e esattamente bastoni passano attraverso ogni punto (con ).

  1. Ripetere le domande 2 e 4 in questo contesto.

Domanda complementare. Proporre e studiare altre direzioni di ricerca.

src_tfjm_2026__Q02

Among N barrels, exactly k are contaminated by a lethal dye; using detectors that test mixtures of chosen barrels, find a strategy minimizing the number of detectors under perfect, threshold-sensitive, probabilistic and dynamic detector models.

  1. Poison in the beverages.

The Teinture Funigfle de Jais Mauve et Mauvaise (abbreviated TFJM) is a fictitious dye, colourless or coloured, but deadly even at infinitesimal concentration. During a transport of goods, infinitesimal quantities of TFJM ended up in the barrels of Nicolas’ beverages. He seeks to know in which barrels the poison is found.

The barrels are in natural number: suppose Nicolas has barrels numbered from to , and suppose exactly barrels were contaminated. A detection strategy consists in choosing, on one or several barrels, to test (mixing the chosen barrels together into one unit volume) whether the poison is present. The strategy may succeed or fail, depending on whether the chosen configuration of tests permits identifying the contaminated barrels uniquely or not.

Given a strategy , let be the number of detectors (tests) used by the strategy. We seek the strategy minimizing this number.

In all questions of the problem, one may comment for .

  1. In this question, suppose the detectors are perfect, that is, they detect the presence of TFJM (even mixed in). Determine an optimal detection strategy and determine .

  2. In this question, suppose the detectors are not sensitive, that is, they detect the presence of poison if, and only if, its concentration in the tested sample is at least equal to some threshold. Determine an optimal detection strategy and determine .

  3. In this question, suppose the detectors are no longer deterministic. Set and and suppose the probability that the detector detects the presence of poison is and the probability of a false positive is , that is and .

Set . We say a strategy is -optimal if is the smallest possible among all strategies whose probability of failure is less than .

a) In this question and the following, suppose . Establish a detection strategy whose probability of failure is less than . b) Determine an -optimal strategy and determine . c) Same questions with .

  1. In this question, suppose the detectors are no longer deterministic and are dynamic, that is, the probability of positive detection in the presence of poison is exactly equal to the concentration of poison in the tested sample, and that of false positive is . Set .

    a) Establish a detection strategy whose probability of failure is less than . b) Determine an -optimal strategy and determine .

  2. Repeat questions 1 and 2 taking into account -optimal strategies.

  3. Propose and study other directions of research.

Topic: Combinatoria, Probabilità Metodo: Casework, Conteggio, Inclusione-esclusione Abilita: Modellizzazione, Conteggio sistematico, Stima Area: Combinatoria, Logica e Probabilita Fonte: apri PDF

Tra N barili, esattamente k sono contaminati da un colorante letale; utilizzando i rilevatori che testano miscele di barili scelti, si trova una strategia che riduce al minimo il numero di rilevatori in modelli di rilevatori perfetti, sensibili alla soglia, probabilistici e dinamici.

  1. Veneno nelle bevande.

La tintura Funigfle de Jais Mauve et Mauvaise (abbreviata TFJM) è un colorante fittizio, incolore o colorato, ma mortale anche a concentrazioni infinitesime. Durante un trasporto di merci, quantità infinitesime di TFJM sono finite nei barili delle bevande di Nicolas. Cerca di sapere in quali barili si trova il veleno.

I barili sono in numero naturale: supponiamo che Nicolas abbia barili numerati da a , e supponiamo esattamente che i barili siano stati contaminati. Una strategia di rilevamento consiste nel scegliere, su uno o più barili, di testare (miscelando i barili scelti insieme in un volume unitario) la presenza del veleno. La strategia può avere successo o fallire, a seconda che la configurazione dei test scelta consente o meno di identificare in modo unico i barili contaminati.

Data la strategia , è il numero di sensori (testi) utilizzati dalla strategia. Cerchiamo la strategia per ridurre al minimo questo numero.

In tutte le domande del problema si può fare un commento per .

  1. In questa domanda, supponiamo che i sensori siano perfetti, cioè che rilevino la presenza di TFJM (anche mescolato). Determinare una strategia di rilevamento ottimale e determinare .

  2. In questa domanda, supponiamo che i sensori non siano sensibili, cioè che rilevino la presenza di veleno se, e solo se, la sua concentrazione nel campione testato è almeno uguale a una certa soglia. Determinare una strategia ottimale di rilevamento e determinare .

  3. In questa domanda, supponiamo che i rilevatori non siano più deterministi. Impostare e e supporre che la probabilità che il rilevatore rileva la presenza di veleno sia e la probabilità di un falso positivo sia , cioè e .

Set . Diciamo che una strategia è -ottimale se è la più piccola possibile tra tutte le strategie la cui probabilità di fallimento è inferiore a .

a) In questa e nella domanda successiva, supponiamo . stabilire una strategia di rilevamento la cui probabilità di fallimento è inferiore a . b) Determinare una strategia -ottimale e determinare . c) Le stesse domande con .

  1. In questa domanda, supponiamo che i rilevatori non siano più deterministi e siano dinamici, cioè la probabilità di rilevamento positivo in presenza di veleno è esattamente uguale alla concentrazione di veleno nel campione testato, e quella di falso positivo è . Set .

a) stabilire una strategia di rilevamento la cui probabilità di fallimento è inferiore a . b) Determinare una strategia -ottimale e determinare .

  1. Ripetere le domande 1 e 2 tenendo conto delle strategie ottimali.

  2. Proporre e studiare altre direzioni di ricerca.

src_tfjm_2026__Q03

Necklaces of beads of length l with integer values summing to price p, considered equal up to rotation and avoiding m consecutive value-0 beads; count necklaces and the restricted set using only values in a subset D.

  1. Necklaces of pearls.

At court, a jeweller specializes in making necklaces of pearls for the noble folk. Having delivery problems, he wishes to adapt his offer to the shortage of certain pearls.

To make necklaces, the jeweller has different types of pearls, one type for each value, each pearl specified by a value (in gold pieces). Each necklace is characterized by the succession of pearls forming it, arranged in a circle. We define the length of a necklace as its number of pearls, and the price as the sum of the values of its pearls. We consider two necklaces to be the same if one can be obtained from the other by a rotation.

Figure 5 shows three necklaces of length and price . The necklaces and are the same.

One day, a noble client, the marquise of Carabas, orders a necklace with pearls, at the price of gold pieces, that never contains pearls of value in a row.

  1. How many such necklaces can the jeweller offer her?

The jeweller wishes to anticipate the caprices of the marquise. We denote the set of necklaces of length , of price , that do not contain pearls of value in a row.

  1. Under which conditions on is non-empty?

The jeweller encounters a delivery problem: certain pearl values can no longer be delivered. Only pearls whose value belongs to a certain subset are available. We denote the set of necklaces of made only of pearls of value in .

  1. If is the set of natural numbers, under which condition(s) on is the set non-empty?

  2. For fixed, under which condition(s) on does one have the equality ?

  3. If , how many necklaces are there in ? One may distinguish the following cases, where :

    a) , b) a prime number, c) arbitrary.

  4. Repeat question 5 for with an arbitrary positive integer.

Complementary question. Propose and study other directions of research.

Topic: Combinatoria, Teoria dei Numeri Metodo: Simmetria, Conteggio, Casework, Congruenze Abilita: Conteggio sistematico, Riconoscimento di pattern, Astrazione Area: Combinatoria, Logica e Probabilita, Aritmetica e Teoria dei Numeri Fonte: apri PDF

Collane di perle di lunghezza l con valori interi sommati al prezzo p, considerati uguali fino alla rotazione e evitando m perle di valore 0 consecutivo; collane di conteggio e l’insieme ristretto utilizzando solo valori in un sottinsieme D.

  1. Colletti di perle.

Alla corte, un gioielliere si specializza nel fare collane di perle per il popolo nobile. Avendo problemi di consegna, desidera adattare la sua offerta alla scarsità di certe perle.

Per fare le collane, il gioielliere ha diversi tipi di perle, un tipo per ogni valore, ogni perla specificata da un valore (in pezzi d’oro). Ogni colletto è caratterizzato dalla successione di perle che lo formano, disposte in un cerchio. La lunghezza di una collana viene definita come il numero di perle e il prezzo come la somma dei valori delle perle. Consideriamo che due colletti siano uguali se uno può essere ottenuto dall’altro mediante una rotazione.

La figura 5 mostra tre colletti di lunghezza e prezzo . Le collane e sono le stesse.

Un giorno, un cliente nobile, la marchessa di Carabas, ordina un collare con perle , al prezzo di monete d’oro , che non contiene mai perle di valore di fila.

  1. Quanti colletti di questo tipo può offrirle il gioielliere?

Il gioielliere desidera anticipare i capricci della marchessa. Indichiamo l’insieme di collane di lunghezza , di prezzo , che non contengono perle di valore in fila.

  1. In quali condizioni il non è vuoto?

Il gioielliere incontra un problema di consegna: alcuni valori di perla non possono più essere consegnati. Sono disponibili solo perle il cui valore appartiene a un determinato sottoinsieme . Indichiamo l’insieme di collane di realizzate solo di perle di valore in .

  1. Se è l’insieme dei numeri naturali, a quale condizione s) su è non vuoto l’insieme ?

  2. Per fisso, a quale condizione (’) su si ottiene l’uguaglianza ?

  3. Se , quante collane ci sono in ? Si possono distinguere i seguenti casi, in cui :

a) , b) un numero primo, c) arbitrario.

  1. Ripetere la domanda 5 per con un intero positivo arbitrario.

Domanda complementare. Proporre e studiare altre direzioni di ricerca.

src_tfjm_2026__Q04

On a climbing wall modeled in the plane, define a ‘path’ of n grips each at distance l from the previous, going up within angle alpha of the vertical; find conditions for two distinct paths to coexist, the minimum number of grips, and arrangements maximizing the count of distinct paths.

  1. Climbing course.

In order to prepare the acrobatic activities for the next tournament of the TFJM, Mathis wishes to build anew a climbing wall that will let everyone enjoy themselves according to their abilities.

We call a configuration any set of points in the plane, called grips. These points represent the positions of the climbing grips available on the wall. The configuration models the geometric layout of the grips on the wall.

Let be a fixed real. For a real , we call an -course of size () a succession of points verifying the following conditions:

  • the first point is situated on the ground (the -axis), and the others are grips;
  • for all , the distance between two successive points is ;
  • for all , the point is strictly above the point and the angle between the line and the vertical is at most .

Intuitively, the climber begins where he wishes on the ground, reaches a first grip at distance within an angle limited to , then pursues the course mounting higher and higher, up to a total of grips. Figure 6 illustrates a configuration with two distinct courses of different colours.

  1. As a first step, Mathis wishes to place grips so as to allow several types of courses to pass through.

    a) In this question, Mathis wants to place a single grip on the wall. Determine the conditions relating and that allow the placement of a single grip so that there is both an -course and an -course, each of size equal to . b) Let . In this question, Mathis wants to place grips on the wall. Determine the conditions on and so that there are -courses of size and -courses of size ( grips), each using a different course.

  2. In this question, suppose . Mathis wishes to build a configuration that permits the coexistence of two courses with distinct characteristics: an -course of size and an -course of size .

Determine the minimal number of grips necessary to obtain a configuration containing at once an -course of size and an -course of size .

  1. In this question, one may limit to the case . In order to model the fact that some movements are more demanding than others, Mathis wishes to associate to each step of a course a movement chosen among several types, for example an easy movement (at distance ) or a difficult movement (at distance ) with .

    a) Let . Determine, as a function of , and , the minimal number of grips it would be necessary to use to make it possible to perform movements from a certain fixed starting point , choosing at each step between an easy and a difficult movement. b) Repeat the previous question with more types of movements. One begins with types of movements.

  2. Opening an old box, Mathis discovers some climbing grips. He wishes to dispose them on the wall so as to obtain the largest possible number of realisable courses.

    a) For an angle and a length fixed, and grips, determine the arrangement of the grips that maximises the number of distinct -courses possible. Two courses are considered the same if they pass through exactly the same grips (the starting point does not matter). b) Discuss the case where several movement lengths are authorised (for example ), and propose the configuration that permits simultaneously a large number of courses of different types.

Complementary question. Propose and study other directions of research.

Topic: Geometria analitica, Combinatoria, Trigonometria Metodo: Coordinate, Conteggio, Casework, Trigonometria Abilita: Ragionamento geometrico, Modellizzazione, Conteggio sistematico Area: Geometria, Combinatoria, Logica e Probabilita Fonte: apri PDF

Su un muro di arrampicata modellato in piano, definire un “cammino” di n afferrature ciascuna a distanza l dalla precedente, che sali all’interno dell’angolo alfa della verticale; trovare le condizioni per la coesistenza di due percorsi distinti, il numero minimo di afferrature e le disposizioni che massimizzino il numero di percorsi distinti.

  1. Corso di arrampicata.

Al fine di preparare le attività acrobatiche per il prossimo torneo del TFJM, Mathis desidera ricostruire un muro di arrampicata che permetterà a tutti di godersi secondo le loro capacità.

Chiamiamo una configurazione qualsiasi insieme di punti nel piano, chiamati grips. Questi punti rappresentano le posizioni delle maniglie di arrampicata disponibili sul muro. La configurazione modella il layout geometrico delle maniglie sul muro.

Lasciate che sia un reale fisso. Per un vero , chiamiamo un corso di dimensione () una successione di punti che verificano le seguenti condizioni:

  • il primo punto è situato sul terreno (l’asse ), mentre gli altri sono gripi; - per tutti , la distanza tra due punti successivi è ; - per tutti , il punto è strettamente superiore al punto e l’angolo tra la linea e la verticale è massimo .

Intuitivamente, l’arrampicatore inizia da dove desidera sul terreno, raggiunge una prima presa a distanza entro un angolo limitato a , quindi prosegue il percorso montando sempre più in alto, fino a un totale di afferri. La figura 6 illustra una configurazione con due corsi distinti di colori diversi.

  1. In primo luogo, Mathis desidera posizionare le maniglie in modo da permettere di passare diversi tipi di corsi.

A) In questa domanda, Mathis vuole mettere una singola presa sul muro. Determinare le condizioni relative a e che consentono il posizionamento di una singola presa in modo che vi sia un corso e un corso , ognuno di dimensioni uguali a . b) Let . In questa domanda, Mathis vuole mettere le maniglie sul muro. Determinare le condizioni di e in modo che ci siano corsi di dimensioni e corsi di dimensioni (griffi ), ognuno utilizzando un corso diverso.

  1. In questa domanda, supponiamo . Mathis vuole costruire una configurazione che permetta la coesistenza di due corsi con caratteristiche distinte: un corso di dimensioni e un corso di dimensioni .

Determinare il numero minimo di agganci necessari per ottenere una configurazione contenente contemporaneamente un corso di dimensioni e un corso di dimensioni .

  1. In questa domanda si può limitare al caso . Al fine di modellare il fatto che alcuni movimenti sono più esigenti di altri, Mathis desidera associare ad ogni passo di un percorso un movimento scelto tra diversi tipi, ad esempio un movimento facile (a distanza ) o un movimento difficile (a distanza ) con .

a) Let . Determinare, in funzione di , e , il numero minimo di maniglie che sarebbe necessario utilizzare per consentire l’esecuzione di movimenti da un determinato punto di partenza fisso , scegliendo ad ogni passo tra un movimento facile e un movimento difficile. b) Ripetere la domanda precedente con più tipi di movimenti. Uno inizia con tipi di movimenti.

  1. Aprendo una vecchia scatola, Mathis scopre alcune manovre di arrampicata. Desidera disposirli sul muro per ottenere il maggior numero possibile di corsi realizzabili.

a) Per un angolo e una lunghezza fissa, e per le maniglie , determinare l’arredamento delle maniglie che massimizzi il numero di corsi distinti possibili. Due corsi sono considerati uguali se passano esattamente attraverso le stesse manovre (il punto di partenza non conta). b) Discutere il caso in cui sono autorizzate diverse lunghezze di movimento (ad esempio ), e proporre la configurazione che consente contemporaneamente un gran numero di corsi di diversi tipi.

Domanda complementare. Proporre e studiare altre direzioni di ricerca.

src_tfjm_2026__Q05

In an m x n grid of stools, people are ill at ease near occupied neighbours; study quasi-complete seatings and the max number seated, then variants with oriented seats facing distance 1, with water fountains replacing seats, and the expected number seated under uniform random arrival E(m,n).

  1. Discomfort in the waiting room.

In a large hospital of a distant country, the waiting room is composed of stools forming a grid of size . The hospital seeks to maximise the usable capacity of this waiting room. The problem is that the inhabitants of this country are not at ease: they feel ill at ease if there is an occupied stool next to them, that is, adjacent stools.

We say a configuration is quasi-complete when no one is ill at ease, that is, no further person can be seated without either being ill at ease himself or making someone else ill at ease.

  1. In this question, the hospital staff seats people as they wish in order to place a maximum of persons without anyone being ill at ease. How many persons can one seat, as a function of and ?

For the following questions, each seat has a fixed orientation (North, South, East or West), and each person seated on a seat looks beside it, in the associated direction, at a distance equal to (the case where the seat is at the side of the wall, in the direction one looks, makes it so that one does not see anyone in one’s field of vision). We call a configuration any table associating to each seat an orientation. For a configuration , one defines as the maximal number of persons who can be placed without discomfort, and as the minimal number of persons necessary for the room to be quasi-complete.

  1. a) What value does take at its maximum (in particular, the hospital chooses in an optimal manner)? One may begin with . b) Repeat the previous question for .

A wave of heat takes over the room: the hospital decides to replace certain seats with water fountains. If a seat is oriented toward the direction of a fountain, the person seated there looks at the fountain and is not put ill at ease.

A configuration may now associate to each location either a seat (with its orientation, as before) or a fountain. See Figure 8.

  1. Let . In this question only, suppose the hospital installs fountains. Repeat question 2b) in this setting, as a function of . One begins with .

  2. Let . In this question only, suppose that on the contrary the hospital may replace the seats of its choice with fountains. Repeat question 2b) in this setting, as a function of .

  3. We return to the situation at the start of the problem, where the seats are stools. The persons arrive one by one and, when a person arrives, she sits on a stool chosen uniformly at random among the possible stools (i.e., where she will not be ill at ease). We denote the expected number of persons who can be seated.

Estimate the value of as a function of and .

Complementary question. Propose and study other directions of research.

Topic: Combinatoria, Probabilità Metodo: Casework, Conteggio, Estremalità, Colorazione Abilita: Conteggio sistematico, Modellizzazione, Stima Area: Combinatoria, Logica e Probabilita Fonte: apri PDF

In una griglia di sgabelli m x n, le persone si sentono a proprio agio vicino ai vicini occupati; studiare i sedili quasi completi e il numero massimo di posti seduti, quindi varianti con sedili orientati verso la distanza 1, con fontane d’acqua che sostituiscono i sedili, e il numero previsto di posti seduti sotto arrivo casuale uniforme E(m,n).

  1. Disagio nella sala d’attesa.

In un grande ospedale di un paese lontano, la sala d’attesa è composta da feci che formano una griglia di dimensioni . L’ospedale cerca di massimizzare la capacità utilizzabile di questa sala d’attesa. Il problema è che gli abitanti di questo paese non si sentono a proprio agio: si sentono a proprio agio se c’è uno sgabello occupato accanto a loro, cioè sgabello adiacente.

Diciamo che una configurazione è quasi completa quando nessuno si sente a suo agio, cioè nessun altro può sedersi senza essere malato a suo agio o rendere un altro malato a suo agio.

  1. In questo caso, il personale ospedaliero siede le persone come desiderano per poter collocare il massimo di persone senza che nessuno si senta a proprio agio. Quante persone possono sedersi in un posto, in funzione di e ?

Per le seguenti domande, ogni sedile ha un orientamento fisso (Nord, Sud, Est o Ovest), e ogni persona seduta su un sedile guarda accanto a esso, nella direzione associata, a una distanza pari a (il caso in cui il sedile è sul lato del muro, nella direzione in cui si guarda, fa sì che non si veda nessuno nel proprio campo visivo). Chiamiamo una configurazione qualsiasi tavolo associato a ciascun sedile un orientamento. Per una configurazione , si definisce come il numero massimo di persone che possono essere posizionate senza disagio e come il numero minimo di persone necessario per rendere la stanza quasi completa.

  1. a) Quale valore assume al massimo (in particolare, l’ospedale sceglie in modo ottimale)? Si può iniziare con . b) Ripetere la domanda precedente per .

Un’ondata di calore si impadronisce della stanza: l’ospedale decide di sostituire alcuni posti con fontane d’acqua. Se un sedile è orientato verso una fontana, la persona che si trova lì guarda la fontana e non si sente a proprio agio.

Una configurazione può ora associare a ciascuna posizione un sedile (con il suo orientamento, come prima) o una fontana. Vedi figura 8.

  1. Let . Solo in questa domanda, supponiamo che l’ospedale installa fonti . Ripetere la domanda 2b) in questa impostazione, come funzione di . Uno inizia con .

  2. Let . Solo in questa questione, supponiamo che l’ospedale possa sostituire invece i sedili di sua scelta con fontane. Ripetere la domanda 2b) in questa impostazione, come funzione di .

  3. Torniamo alla situazione all’inizio del problema, in cui i sedili sono sgabelli. Le persone arrivano una per una e, quando una persona arriva, si siede su uno scavo scelto uniformemente a caso tra i possibili scavi (cioè dove non si sentirà a proprio agio). Indichiamo il numero previsto di persone che possono sedersi.

Estimare il valore di come funzione di e .

Domanda complementare. Proporre e studiare altre direzioni di ricerca.

src_tfjm_2026__Q06

Define a ‘permutative’ number whose double has the same digits except one digit (0 to 4) replaced by its double; ‘rotative’ moves the first digit to last and ‘fitatory’ moves the last digit to first. Decide existence and count such n-digit numbers, also in other bases.

  1. Double and digits.

We call a permutative number (nombre permutatif) a number of whose double is composed of the same digits in an arbitrary order, except for a single digit (between and ) which is replaced by its double.

For example, : its double is composed of the same digits, except the digit which is replaced by the digit . Conversely, the number is not permutative, because to obtain one would have to replace each of the digits by its double.

Among these, we distinguish:

  • a rotative number (nombre rotatif): a number such that the permutation consists in moving the first digit to last, and it is this digit that is doubled. For example, would be rotative if its double were .
  • a fitatory number (nombre fitator): a number such that the permutation consists in moving the last digit to first, and it is this digit that is doubled. For example, would be fitatory if its double were .

The number is neither rotative nor fitatory. See Figure 9.

  1. Let . a) Does there exist a rotative number with digits? b) Determine (or bound as precisely as possible) the number of rotative numbers with digits.

  2. Let . a) Does there exist a fitatory number with digits? b) Determine (or bound as precisely as possible) the number of fitatory numbers with digits.

  3. Let . a) Let . Does there exist a permutative number with digits that ends with the digit ? b) Determine (or bound as precisely as possible) the number of permutative numbers with digits. In particular, determine the limit of this number divided by , if it exists ( being the number of numbers with digits).

  4. Repeat the previous sub-question for other bases of numeration.

Complementary question. Propose and study other directions of research.

Topic: Teoria dei Numeri, Combinatoria Metodo: Congruenze, Casework, Conteggio, Fattorizzazione Abilita: Manipolazione algebrica, Riconoscimento di pattern, Casework accurato Area: Aritmetica e Teoria dei Numeri, Combinatoria, Logica e Probabilita Fonte: apri PDF

Definire un numero “permutativo” il cui doppio ha le stesse cifre tranne una cifra (0-4), sostituito dal doppio; “rotativo” sposta la prima cifra a durare e “fitatorio” sposta l’ultima cifra a durare. Decidere l’esistenza e contare tali numeri a n cifre, anche in altre basi.

  1. Doppio e cifre.

Chiamiamo un numero permutativo un numero di il cui doppio è composto dalle stesse cifre in un ordine arbitrario, ad eccezione di una singola cifra (tra e ) che viene sostituita dal suo doppio.

Ad esempio, : il suo doppio è composto dalle stesse cifre, ad eccezione della cifra che viene sostituita dalla cifra . Al contrario, il numero non è permutativo, perché per ottenere si dovrebbe sostituire ciascuno dei numeri con il suo doppio.

Tra questi, distingueremo:

  • un numero rotativo (nombre rotatif): un numero tale che la permutazione consiste nel spostare la prima cifra per la ultima, e è questa cifra che viene raddoppiata. Ad esempio, sarebbe rotabile se il suo doppio fosse . - un numero fitatorio (nombre fitator): un numero tale che la permutazione consiste nel spostare l’ultima cifra al primo, ed è questa cifra che viene raddoppiata. Ad esempio, sarebbe fitatoria se il suo doppio fosse .

Il numero non è né rotativo né fitatorio. Vedi figura 9.

  1. Let . a) Esiste un numero rotativo con cifre ? b) Determinare (o limitare con la massima precisione possibile) il numero di numeri rotativi con cifre .

  2. Let . a) Esiste un numero fitatorio con cifre ? b) Determinare (o limitare con la massima precisione possibile) il numero di numeri di inserimento con cifre .

  3. Let . a) Let . Esiste un numero permutativo con cifre che termina con la cifra ? b) Determinare (o limitare con la massima precisione possibile) il numero di numeri permutativi con cifre . In particolare, determinare il limite di questo numero diviso per , se esiste ( è il numero di numeri con cifre ).

  4. Ripetere la precedente sottoquestione per altre basi di numerazione.

Domanda complementare. Proporre e studiare altre direzioni di ricerca.

src_tfjm_2026__Q07

Gaston’s insertion-by-interval sorting algorithm G inserts a_k into the k-th position whose subinterval [(k-1)/k, k/k] it falls in; study fixed points, the count N(L) of preimages, its min/max over permutations, the iterated-sort count N’(L), and worst-case number of iterations to sort.

  1. Sorting too fast.

Gaston wishes to sort in increasing order a list of numbers in , all distinct. Not knowing much about computing, he proposes the following algorithm:

  • One numbers the starting list and one begins with an empty arrival list.
  • One places in the arrival list.
  • One places in the arrival list: if it is in the interval , one puts it first, and if it is in the interval one puts it second.
  • One places in the arrival list: if it is in the interval , one puts it first; if it is in the interval one puts it second; and if it is in the interval one puts it third.
  • More generally, one places successively in the arrival list: one puts it in the -th position, where is such that .

For example, starting from the list , Gaston obtains successively , , and finally .

We denote the function corresponding to Gaston’s algorithm: .

We observe that this algorithm does not always sort the list. The aim of this problem is to study to what extent it is efficient. Throughout the problem, a list is said to be sorted if it is ordered in increasing order.

  1. Which sorted lists satisfy ?

When lists are not sorted, the result depends greatly on the order in which the starting list is arranged. For a list of length , we denote the number of lists such that . Note that if , then is composed of the same numbers as , in some possibly different order. The previous example shows that , since there exists at least one list that works.

  1. Characterise the lists such that, for every permutation of , .

  2. Among the sorted lists of length , determine (or bound as precisely as possible) the minimal value of . In particular, one will look for the limit of this minimum as , if it exists. (In other words, how bad can the algorithm be?)

  3. Repeat the previous question for the maximal value of . (In other words, how good can the algorithm be?)

  4. Let be a sorted list of length . Is it possible that, for some permutation of , ? (In other words, does the algorithm always tend to sort?)

When the lists are not sorted, one may apply the algorithm again to the obtained list, and so on. For a list of length , we denote the number of ways to form the sorted list by iterating the algorithm until it stops.

  1. Is it possible, for a sorted list , that is equal to ? (In other words, is iterating useless?) If yes, characterise the lists that attain equality. If no, quantify the minimal gap between and .

  2. Among the lists of length , determine (or bound as precisely as possible) the maximal value of . In particular, one will look for the limit of as , if it exists. (In other words, how good can the algorithm be?)

  3. Among the lists of length , determine (or bound as precisely as possible) the maximal number of steps to perform to sort the list, after which every list has either already been sorted or never will be. (In other words, how slow can the algorithm be?)

Complementary question. Propose and study other directions of research.

Topic: Combinatoria, Logica Metodo: Casework, Conteggio, Ricorsione, Estremalità Abilita: Conteggio sistematico, Riconoscimento di pattern, Stima Area: Combinatoria, Logica e Probabilita Fonte: apri PDF

L’algoritmo di classificazione inserimento-per-intervallo di Gaston inserisce a_k nella posizione k-th in cui il subintervallo [(k-1)/k, k/k] cade; studiare i punti fissi, il conteggio N(L) delle preimmagini, la sua min/max sulle permutazioni, il conteggio di classificazione iterata N’(L), e il numero peggiore di iterazioni da ordinare.

  1. Sortando troppo velocemente.

Gaston desidera ordinare in ordine crescente un elenco di numeri in , tutti distinti. Non sapendo molto di calcolo, propone l’algoritmo seguente:

  • Uno numerizza la lista di partenza e l’altro inizia con una lista di arrivi vuota. - Un posto nella lista degli arrivi. - Un posto nella lista degli arrivi: se si trova nell’intervallo , si pone in primo luogo, e se si trova nell’intervallo si pone in secondo luogo. - inserire un nell’elenco degli arrivi: se si trova nell’intervallo , si inserisce in primo luogo; se si trova nell’intervallo , si inserisce in secondo luogo; e se si trova nell’intervallo , si inserisce in terzo luogo. - Più in generale, si inserisce successivamente nella lista degli arrivi: si inserisce nella posizione -th, dove è tale che .

Ad esempio, partendo dall’elenco , Gaston ottiene successivamente , , e infine .

Indichiamo la funzione corrispondente all’algoritmo di Gaston: .

Si osserva che questo algoritmo non classifica sempre la lista. L’obiettivo di questo problema è quello di studiare la sua efficacia. In tutto il problema, si dice che un elenco sia ordinato se viene ordinato in ordine crescente.

  1. Quali elenchi classificati soddisfano ?

Quando le liste non sono ordinate, il risultato dipende in gran parte dall’ordine in cui è ordinata la lista iniziale. Per un elenco di lunghezza , indichiamo il numero di elenco tale che . Si noti che se , allora è composto dai medesimi numeri di , in qualche ordine possibilmente diverso. L’esempio precedente mostra che , poiché esiste almeno un elenco che funziona.

  1. Caratterizzare gli elenchi in modo tale che, per ogni permutazione di , .

  2. Tra le liste ordinate di lunghezza , determinare (o limitare con la massima precisione possibile) il valore minimo di . In particolare, si cercherà il limite di questo minimo come , se esiste. (In altre parole, quanto male può essere l’algoritmo?)

  3. Ripetere la domanda precedente per il valore massimo di . (In altre parole, quanto può essere buono l’algoritmo?)

  4. sia un elenco ordinato di lunghezza . È possibile che, per una certa permutazione di , ? (In altre parole, l’algoritmo tende sempre a ordinare?)

Quando le liste non sono ordinate, si può applicare di nuovo l’algoritmo alla lista ottenuta, e così via. Per un elenco di lunghezza , indichiamo il numero di modi per formare l’elenco ordinato iterando l’algoritmo finché non si ferma.

  1. È possibile, per un elenco ordinato , che sia uguale a ? (In altre parole, è inutile ripetere?) Se sì, caratterizza le liste che raggiungono l’uguaglianza. Se no, quantificare il minimo di distanza tra e .

  2. Tra gli elenchi di lunghezza , determinare (o limitare con la massima precisione possibile) il valore massimo di . In particolare, si cercherà il limite di come , se esiste. (In altre parole, quanto può essere buono l’algoritmo?)

  3. Tra gli elenchi di lunghezza , determinare (o limitare con la massima precisione possibile) il numero massimo di passi da eseguire per ordinare l’elenco, dopo i quali ogni elenco è già stato ordinato o non lo sarà mai. (In altre parole, quanto può essere lento l’algoritmo?)

Domanda complementare. Proporre e studiare altre direzioni di ricerca.

src_tfjm_2026__Q08