Numero di sottoinsiemi di ordine due e somma limitata

Messaggioda vl4d » 04/09/2007, 16:07

Ho creato un piccolo esercizio :-D
Siano $n,k$ naturali e $3 \le k \le n$.
Esprimere in forma chiusa il numero di sottoinsiemi $S \subseteq {1,2,\cdots,n}$
di cardinalita' due e aventi somma degli elementi non maggiore di $k$, $a+b \le k$ se $S={a,b}$.
Go to the roots, of these calculations! Group the operations.
Classify them according to their complexities rather than their appearances!
This, I believe, is the mission of future mathematicians. This is the road on which I am embarking in this work.
Evariste Galois
Avatar utente
vl4d
Average Member
Average Member
 
Messaggio: 458 di 515
Iscritto il: 05/05/2006, 14:49

Messaggioda TomSawyer » 04/09/2007, 17:18

Sia $f(*)$ il numero di sottoinsimi richiesto. $f(3)=1$. Ragionando induttivamente, si ha che $f(n)=f(n-1)+[(n-1)/2]$, cioè il numero di sottoinisiemi per $n-1$, chiaramente, più quelli la cui somma degli elementi è esattamente $n$. La parte intera serve per escludere le partizioni del tipo $n/2+n/2=n$, per $n$ pari. Quindi $f(n)=\sum_{j=3}^n [(j-1)/2]$. Per $n$ pari la si può scrivere anche nella forma $f(n)=2\sum_{j=1}^{[(n-1)/2]} j $.

Sarebbe interessante trovare una formula generale per sottoinsiemi di qualsiasi cardinalità.
I watched a snail crawl along the edge of a straight razor. That's my dream. That's my nightmare. Crawling, slithering, along the edge of a straight... razor... and surviving., Walter E. Kurtz
Avatar utente
TomSawyer
Advanced Member
Advanced Member
 
Messaggio: 1932 di 2270
Iscritto il: 16/11/2005, 16:18

Messaggioda vl4d » 04/09/2007, 17:50

TomSawyer ha scritto:Quindi $f(n)=\sum_{j=3}^n [(j-1)/2]$. Per $n$ pari la si può scrivere anche nella forma $f(n)=2\sum_{j=1}^{[(n-1)/2]} j $.


Forse dovevo precisare che per "forma chiusa" intendevo proprio senza sommatorie, indipendentemente
dalla parita' di $n$ o di $k$ :D
Go to the roots, of these calculations! Group the operations.
Classify them according to their complexities rather than their appearances!
This, I believe, is the mission of future mathematicians. This is the road on which I am embarking in this work.
Evariste Galois
Avatar utente
vl4d
Average Member
Average Member
 
Messaggio: 459 di 515
Iscritto il: 05/05/2006, 14:49

Messaggioda zorn » 04/09/2007, 21:34

Così come lo hai posto, il problema viene a dipendere da $k$ e non da $n$. Provo a farlo
Nulla importa veramente.

$e^(i pi) = -1$

Nessuno ci scaccerà dal paradiso che Cantor ha creato per noi. (David Hilbert)
zorn
Average Member
Average Member
 
Messaggio: 58 di 675
Iscritto il: 24/08/2007, 19:29

Messaggioda TomSawyer » 04/09/2007, 21:59

Certo. Io ho solo scritto $n$ al posto di $k$.

La forma chiusissima (:D) è $((k(k-1))/2-1-[(k-2)/2])/2$. Bruttina. Ne hai una equivalente più carina, vl4d?
I watched a snail crawl along the edge of a straight razor. That's my dream. That's my nightmare. Crawling, slithering, along the edge of a straight... razor... and surviving., Walter E. Kurtz
Avatar utente
TomSawyer
Advanced Member
Advanced Member
 
Messaggio: 1933 di 2270
Iscritto il: 16/11/2005, 16:18

Messaggioda vl4d » 05/09/2007, 09:51

Eccola li :-D fine esercizietto 8-)

Come l'hai trovata ? Io ho posto condizione su $b \le "fl"(k/2)$, $b > "fl"(k/2)$ (dopo un "wlog $a<b$") e ho contato
nei due casi. Nel primo e' un semplice binomiale, nel secondo diventa una somma ben nota,
e il tutto poi diventa, dopo qualche considerazione, $"fl"(k/2)("ceil"(k/2)-1)$, che e' equivalente alla tua.

@zorn, certo, hai ragione. Ma ll problema l'ho posto come mi e' venuto
naturale pormi il quesito quando ancora non sapevo la risposta, se poi diventa indipendente da $n$,
ci mettiamo un bel WLOG e consideriamo solo $k$ :wink:
Go to the roots, of these calculations! Group the operations.
Classify them according to their complexities rather than their appearances!
This, I believe, is the mission of future mathematicians. This is the road on which I am embarking in this work.
Evariste Galois
Avatar utente
vl4d
Average Member
Average Member
 
Messaggio: 460 di 515
Iscritto il: 05/05/2006, 14:49

Messaggioda TomSawyer » 05/09/2007, 12:12

Molto rudimentalmente, ho scritto in forma chiusa la sommatoria senza le floor, poi ho tolto quello che dovevo :D.

Direi che è indipendente da $n$, dato che serve solo come bound per $k$. Comunque, rilancio: risolvere lo stesso problema per i sottoinsiemi di cardinalità $3$.

ps: non ho ancora la soluzione. Generalizzare a sottoinsiemi di cardinalità $m$, per $2 \le m \le n$ diventa molto difficile.
I watched a snail crawl along the edge of a straight razor. That's my dream. That's my nightmare. Crawling, slithering, along the edge of a straight... razor... and surviving., Walter E. Kurtz
Avatar utente
TomSawyer
Advanced Member
Advanced Member
 
Messaggio: 1935 di 2270
Iscritto il: 16/11/2005, 16:18

Messaggioda TomSawyer » 05/09/2007, 14:59

Io ho trovato questa sommatoria, per i sottoinsiemi di ordine 3 di ${1,...,n}$, con $6 \le k \le 3n-3$:
Testo nascosto, fai click qui per vederlo
$f_3(k)=\sum_{j=6}^k ((j-3)[j/6]-3[j/6]^2)+[k/6]$

Secondo me è molto difficile trovare una forma chiusa decente, dato che le parti intere sono un problema qui.
I watched a snail crawl along the edge of a straight razor. That's my dream. That's my nightmare. Crawling, slithering, along the edge of a straight... razor... and surviving., Walter E. Kurtz
Avatar utente
TomSawyer
Advanced Member
Advanced Member
 
Messaggio: 1936 di 2270
Iscritto il: 16/11/2005, 16:18

Messaggioda vl4d » 05/09/2007, 15:25

Mi chiedo, tra l'altro, se la forma chiusa esista veramente :(
Go to the roots, of these calculations! Group the operations.
Classify them according to their complexities rather than their appearances!
This, I believe, is the mission of future mathematicians. This is the road on which I am embarking in this work.
Evariste Galois
Avatar utente
vl4d
Average Member
Average Member
 
Messaggio: 462 di 515
Iscritto il: 05/05/2006, 14:49

Messaggioda TomSawyer » 05/09/2007, 16:50

Me lo stavo chiedendo anch'io. Ho provato un po' a lavorarci, ma escludendo le sommatorie si arriva ad espressioni orribili, quindi ho preferito non continuare. Ma può essere anche che, calcolando $f_3$ in maniera diversa da come l'ho fatto io, si possa arrivare ad una forma carina.

Per quanto riguarda i sottoinsiemi di cardinalità $m$ maggiore di 3, bisognerebbe conoscere le formule chiuse delle partizioni di un intero in $m$ interi positivi distinti, e dubito che ci siano.
I watched a snail crawl along the edge of a straight razor. That's my dream. That's my nightmare. Crawling, slithering, along the edge of a straight... razor... and surviving., Walter E. Kurtz
Avatar utente
TomSawyer
Advanced Member
Advanced Member
 
Messaggio: 1938 di 2270
Iscritto il: 16/11/2005, 16:18

Prossimo

Torna a Algebra, logica, teoria dei numeri e matematica discreta

Chi c’è in linea

Visitano il forum: Nessuno e 1 ospite