All n-variable combinations can exist within a word

  • Context: Undergrad 
  • Thread starter Thread starter Sariaht
  • Start date Start date
  • Tags Tags
    Combinations
Click For Summary

Discussion Overview

The discussion revolves around the concept of generating all n-variable combinations within a word, exploring the smallest word length that can contain all permutations of a given set of letters. Participants engage with the theoretical implications of word formation, permutations, and the conditions under which certain arrangements are considered equivalent.

Discussion Character

  • Exploratory
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants propose that the smallest word containing all permutations of n letters can be derived, with examples provided for n=2 and n=3.
  • Others argue about the equivalence of certain strings, questioning whether backward arrangements or other random orderings should be considered valid.
  • A participant suggests a mathematical expression for the length of the word, but acknowledges uncertainty in its correctness.
  • There is a discussion about the function that relates the number of letters needed to the number of variables, with some participants expressing confusion over the implications of their assumptions.
  • One participant mentions the idea of "keys to disordered words" as a potential way to conceptualize the problem.

Areas of Agreement / Disagreement

Participants express differing views on the definitions of permutations and equivalence of strings. There is no consensus on the correct formulation of the problem or the validity of proposed solutions.

Contextual Notes

Some participants acknowledge limitations in their understanding and assumptions, indicating that the discussion is still evolving and that further clarification is needed on the definitions and conditions of the problem.

Who May Find This Useful

This discussion may be of interest to those exploring combinatorial mathematics, word formation theories, and the properties of permutations in theoretical contexts.

Sariaht
Messages
356
Reaction score
0
All n-variable combinations can exist within a word;
n=1 | a
n=2 | ab
n=3 | cabca

Is the fourth shortest word cabdcabcdabcadbca, and how long is the n:th word?
 
Mathematics news on Phys.org
n=2 | ab

What about ba?

n=3 | cabca

Or bac?
 
backwards cab = bac
 
so backwards is permissible, why isn't any other random ordering also equivalent? (ie, exactly what is the full question you want the answer to, seeing as you've given us incomplete information?)
 
I ment all permutations, but i hoped i could avoid that word
 
that still doesn't make it a well formed question though.
 
Dude, what the hell are you saying?
 
well, if that's aimed at me, cab counts as the same string as bac for this question, now what other strings are identified with bac? sariaht's answer is "all combinations", but that means surely that the answer for a,b,c is abc, ssince that contains all strings of length 3 up to all permutations.
 
the question as i see it ... i will try to rephrase it ...
U have a machine suppose that can read from a strip of letters forward as well as backward but only continuous group of n letters ...
Given letters a,b,c
find the smallest strip of letters such that the machine can get any combination of abc from that?

e.g given by sariaht for 3 letters,
cabca -- length of 5

Question now asks to find the smallest strip length for n letters.

-- AI
 
  • #10
Exactly!

What is the smallest word with all permutations of n variables?
 
  • #11
and as we keep pointing out, your examples do not contain all possible permutations

n=2 ab doesn't contain ba, for instance, however you say this doesn't matter since ba is ab backwards, so what other permutations are equivalent to abc, say? only cba? why not acb? what particularly odd an arbitrary rules do you have that you're not telling us


edit: just read two posts back, so fowards and backwards are the only permissible variations? fine.
 
Last edited:
  • #12
Sariaht,
i haven't given this much thought but i think i get,
::n!/2 + n - 1[/color]::

Actually i have assumed something in my logic here , i will put my logic later if i get the time to actually prove my assumption.

-- AI
 
  • #13
I think Tenali's right.

That would be my guess too.
 
Last edited:
  • #14
what!?

Have I misunderstod the meaning of permutations?

Yes I have, sorry!

What is the smallest word with all n letters long permutations of n variables?
 
  • #15
LOL!
the proof of the assumption i made was so damn easy ...
man it skipped my visualisation for such a long time ...
So if my answer is right, i won't give it away just now ...
:wink:

-- AI
 
  • #16
Here's how you start it:

write out abcd...e whatever the n letters are. then cycle through by putting the abcd.. after it. pick a permutation you've not got, repeat, count and leave this question alone, please.
 
  • #17
Wonder if you can mathematically calibrate the length of the word.
 
  • #18
what does calibrate mean in this context, and what;s wrong with the metric 'number of letters in the word'?
 
  • #19
The number of letters x you need must be a function of the number of variables n.
What is that function f(n) = x

Not that it makes a difference
 
Last edited:
  • #20
Oh, i see: n!/2 + n - 1

Then I know, thanks a lot!

I couldn't see your answer somehow...

But that cannot be right, n = 4 gives 15, but the word is 17 letters long

1 1
2 2
3 5
4 17
5 ?
 
Last edited:
  • #21
obviously the assumption i had made was a mistake ...
which i later realized unfortunately ...

i will have to give it some more thoughts , i will post something if i get somewhere

-- AI
 
  • #22
You could call these words keys to dissordered words by the way.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
3
Views
2K
Replies
6
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K