am i correct that the quavers and semi-quavers don't enter the computation? or, am i a wanna-be geek.
wait a minute (lightbulb going off) adding one more note to doubled note89+89+88+88+88x12=5,304
heres my answer. i dunno if its right:88 keys5 note motifone note may repeatnotes are labelled A,B,C,D,Epossibilities are that, there are either all different, or that one note repeated.if they are all different the amount of possibilites is 88*87*86*85*84should there be repeats, it depends on which note is repeated.if B, the second note, is repeated, B only has one choice:88*1*87*86*85if C is repeated:88*87*1*86*85if D is repeated:88*87*86*1*85if E is repeated:88*87*86*85*1the sum of all these possibilities is88*87*86*85*84 + 88*1*87*86*85 + 88*87*1*86*85 + 88*87*86*1*85 + 88*87*86*85*1 = 84*(88*87*86*85) + 4*(88*87*86*85) = 88*(88*87*86*85)= 88*88*87*86*85= 4924951680for n keys with r notes in such a motif:n*n!/(n-r+1)!
88x88x87x86x85 = This is the equation I come up with (based on the ones above it), but I don't know that it is correct.
thinking about it some more, i don't think 88*88*87*86*85 is the answer.you have two situations one where a note repeats and one where all notes are unquie, well the part where all notes are unique is easy, it is P(88,5) = 88*87*86*85*84.but the part where one note repeats is a bit more complicated.here you only use up four of the piano keys, so the number of possible 4 note sequences on the piano is P(88,4) = 88*87*86*85.now for each one of these four note sequences one of the notes repeats, in no set order, so if the sequence of notes happens to be ABCD you could have these ways of arranging a repeated note:AABCDABACDABCADABCDAthat is for repeating note A, and there are 4 ways to repeat the note A, if the note B, C or D was repeated instead, there are also 4 ways of arranging it. so in all for each of the four note sequences there are 16 different ways of dealing with a repeated note. so this gives as the answer:= P(88,5) + P(88,4)*16= 88*87*86*85*84 + 88*87*86*85*16= 100*88*87*86*85= 5596536000 (a lot)i'm sure most of them don't sound very good though
That's quite correct, m1469, as far as I can see. It doesn't even matter whether one allows one note to be repeated or a note to be used again. "Repeat" means it has to be used right away:AABCDABBCDABCCDABCDDwhereas, "used again" means any of the above, plusABCADABCDB, etc.In any case, after the first note has been played, there is always one less possibility than previously, plus one for the fact that any one of the already played notes can be used again.88*(87+1)*(86+1)*(85+1)*(84+1)
Okay, m1469, would you please clarify if "repeat" means instantly repeat (which would go well with your solution) or means just "use again" in the motif.I think it is of great importance, since then we have to pay attention to the position of the repeated note as well, as Cadenz has pointed out.
No, it won't make a difference as m1469 pointed out that I pointed that out.
So the solution for the original problem must be (I think): 88*87*86*85*94=5260743840 as I pointed out in a previous post.
hmm... here's a better idea... let's take scenario number 1, no repeats. that'll be P(88,5).then take the repetitions. that would be 88*1*87*86*86, 88*87*1*86*85 and so on. so the motives with repetitions would be 4P(88,4)adding, P(88,5) + 4P(88,4), which is surprisingly equal to 88*88*87*85...
+88*87*86*85*4 (1 repeated note)
= 4926942328
OKAY OKAYNow, just in case it still matters, I would like to try to explain (again) what exactly I meant for the rules of the equation. When I said "repeated" I meant: a single note may be used twice and only twice, anywhere in the motif (it is only an option) and the remaing must be individually unique. (I think this can still be misunderstood)m1469 (he he he... *confused about where I am, who I am, what's happening*)
what do you mean? does that mean it has to be repeated next to itself like..... abbcd, or abccd, rather than abcad ? cuz otherwise its still what we've been doing as far as i know