Number of permutations such that each prime is followed by at least one compositeNumber of 5 letter words over a 4 letter group using each letter at least onceThe number of permutations of finite set that keep at least one element fixedCalculating the number of permutations that do not have at least one set of duplicate elements adjacent.Generic method to distribute n distinct objects among r people such that each person gets at least one objectNumber of sequences of length $m$ such that $1$ is never followed immediately by $0$Number of permutations that strictly contain three consecutive vowelsMultiple Dice Permutations for Different Number Ranges Each DieIn how many ways can $3$ boys and $3$ girls be seated in a row such that each boy is adjacent to at least one girl?Attempting a combinations question using permutations.Number of permutations of letters of the word PENDULAM such that vowels are never togehter

Is there a distance limit for minecart tracks?

Started in 1987 vs. Starting in 1987

Offset in split text content

Why is implicit conversion not ambiguous for non-primitive types?

What is the meaning of "You've never met a graph you didn't like?"

Connection Between Knot Theory and Number Theory

What (if any) is the reason to buy in small local stores?

Is this saw blade faulty?

Output visual diagram of picture

Why is participating in the European Parliamentary elections used as a threat?

Why can't I get pgrep output right to variable on bash script?

When is the exact date for EOL of Ubuntu 14.04 LTS?

categorizing a variable turns it from insignificant to significant

Hashing password to increase entropy

C++ lambda syntax

How to test the sharpness of a knife?

Pre-Employment Background Check With Consent For Future Checks

Put the phone down / Put down the phone

Make a Bowl of Alphabet Soup

Can you take a "free object interaction" while incapacitated?

Why do Radio Buttons not fill the entire outer circle?

Do I have to take mana from my deck or hand when tapping this card?

Can you describe someone as luxurious? As in someone who likes luxurious things?

What is it called when someone votes for an option that's not their first choice?



Number of permutations such that each prime is followed by at least one composite


Number of 5 letter words over a 4 letter group using each letter at least onceThe number of permutations of finite set that keep at least one element fixedCalculating the number of permutations that do not have at least one set of duplicate elements adjacent.Generic method to distribute n distinct objects among r people such that each person gets at least one objectNumber of sequences of length $m$ such that $1$ is never followed immediately by $0$Number of permutations that strictly contain three consecutive vowelsMultiple Dice Permutations for Different Number Ranges Each DieIn how many ways can $3$ boys and $3$ girls be seated in a row such that each boy is adjacent to at least one girl?Attempting a combinations question using permutations.Number of permutations of letters of the word PENDULAM such that vowels are never togehter













1












$begingroup$



Question: Let $P$ be the number of permutations of $3,4,5,6,7,8$ such that each prime is followed by at least one composite number. Find $P$.




Using the string method I got $36$ as the answer and by another approach I got $1440$ as the answer. I do not think that these are the correct answers. Please help.










share|cite|improve this question











$endgroup$







  • 1




    $begingroup$
    The primes are 3, 5 and 7. Note that the condition that a prime is followed by a composite number is equivalent to the primes occupying the first, third and fifth positions, while the three composite numbers occupy the second, fourth and sixth positions (Else we wold get adjacent pairs of primes). Thus we can realise all such permutations by permuting the three primes among themselves and permuting the three composite numbers among themselves, and we get $3!*3!=36$ possible permutations.
    $endgroup$
    – Heinrich Wagner
    Mar 13 at 18:14















1












$begingroup$



Question: Let $P$ be the number of permutations of $3,4,5,6,7,8$ such that each prime is followed by at least one composite number. Find $P$.




Using the string method I got $36$ as the answer and by another approach I got $1440$ as the answer. I do not think that these are the correct answers. Please help.










share|cite|improve this question











$endgroup$







  • 1




    $begingroup$
    The primes are 3, 5 and 7. Note that the condition that a prime is followed by a composite number is equivalent to the primes occupying the first, third and fifth positions, while the three composite numbers occupy the second, fourth and sixth positions (Else we wold get adjacent pairs of primes). Thus we can realise all such permutations by permuting the three primes among themselves and permuting the three composite numbers among themselves, and we get $3!*3!=36$ possible permutations.
    $endgroup$
    – Heinrich Wagner
    Mar 13 at 18:14













1












1








1





$begingroup$



Question: Let $P$ be the number of permutations of $3,4,5,6,7,8$ such that each prime is followed by at least one composite number. Find $P$.




Using the string method I got $36$ as the answer and by another approach I got $1440$ as the answer. I do not think that these are the correct answers. Please help.










share|cite|improve this question











$endgroup$





Question: Let $P$ be the number of permutations of $3,4,5,6,7,8$ such that each prime is followed by at least one composite number. Find $P$.




Using the string method I got $36$ as the answer and by another approach I got $1440$ as the answer. I do not think that these are the correct answers. Please help.







combinatorics permutations






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Mar 13 at 18:30









6005

37k751127




37k751127










asked Mar 13 at 18:04









MrAPMrAP

1,17421432




1,17421432







  • 1




    $begingroup$
    The primes are 3, 5 and 7. Note that the condition that a prime is followed by a composite number is equivalent to the primes occupying the first, third and fifth positions, while the three composite numbers occupy the second, fourth and sixth positions (Else we wold get adjacent pairs of primes). Thus we can realise all such permutations by permuting the three primes among themselves and permuting the three composite numbers among themselves, and we get $3!*3!=36$ possible permutations.
    $endgroup$
    – Heinrich Wagner
    Mar 13 at 18:14












  • 1




    $begingroup$
    The primes are 3, 5 and 7. Note that the condition that a prime is followed by a composite number is equivalent to the primes occupying the first, third and fifth positions, while the three composite numbers occupy the second, fourth and sixth positions (Else we wold get adjacent pairs of primes). Thus we can realise all such permutations by permuting the three primes among themselves and permuting the three composite numbers among themselves, and we get $3!*3!=36$ possible permutations.
    $endgroup$
    – Heinrich Wagner
    Mar 13 at 18:14







1




1




$begingroup$
The primes are 3, 5 and 7. Note that the condition that a prime is followed by a composite number is equivalent to the primes occupying the first, third and fifth positions, while the three composite numbers occupy the second, fourth and sixth positions (Else we wold get adjacent pairs of primes). Thus we can realise all such permutations by permuting the three primes among themselves and permuting the three composite numbers among themselves, and we get $3!*3!=36$ possible permutations.
$endgroup$
– Heinrich Wagner
Mar 13 at 18:14




$begingroup$
The primes are 3, 5 and 7. Note that the condition that a prime is followed by a composite number is equivalent to the primes occupying the first, third and fifth positions, while the three composite numbers occupy the second, fourth and sixth positions (Else we wold get adjacent pairs of primes). Thus we can realise all such permutations by permuting the three primes among themselves and permuting the three composite numbers among themselves, and we get $3!*3!=36$ possible permutations.
$endgroup$
– Heinrich Wagner
Mar 13 at 18:14










1 Answer
1






active

oldest

votes


















1












$begingroup$

To tackle this problem, we can start with the condition:




each prime is followed by at least one composite.




I think Vinyl_cape_jawa has interpreted this incorrectly -- it means that each prime is followed by at least one composite somewhere on the list. But this is equivalent to saying that the last prime is followed by at least one composite. And all of these numbers are either composite or prime.



So it's actually just saying that: the list ends in a composite!



So: how many permutations are there such that the list ends in a composite?
Start by finding the number of ways to choose the last element; then find the number of ways to order all the remaining elements.



P.S.
I haven't heard of the "string method", but I think that neither of your two answers are right.



$1440$ can't be right because the total number of permutations of the set is $6! = 720$, which is smalle.r



$36$ I think would be correct if Vinyl_cape_jawa's interpretation is right.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    @N.F.Taussig Yeah I mixed that up. Fixed now.
    $endgroup$
    – 6005
    Mar 15 at 14:59










Your Answer





StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3146950%2fnumber-of-permutations-such-that-each-prime-is-followed-by-at-least-one-composit%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1












$begingroup$

To tackle this problem, we can start with the condition:




each prime is followed by at least one composite.




I think Vinyl_cape_jawa has interpreted this incorrectly -- it means that each prime is followed by at least one composite somewhere on the list. But this is equivalent to saying that the last prime is followed by at least one composite. And all of these numbers are either composite or prime.



So it's actually just saying that: the list ends in a composite!



So: how many permutations are there such that the list ends in a composite?
Start by finding the number of ways to choose the last element; then find the number of ways to order all the remaining elements.



P.S.
I haven't heard of the "string method", but I think that neither of your two answers are right.



$1440$ can't be right because the total number of permutations of the set is $6! = 720$, which is smalle.r



$36$ I think would be correct if Vinyl_cape_jawa's interpretation is right.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    @N.F.Taussig Yeah I mixed that up. Fixed now.
    $endgroup$
    – 6005
    Mar 15 at 14:59















1












$begingroup$

To tackle this problem, we can start with the condition:




each prime is followed by at least one composite.




I think Vinyl_cape_jawa has interpreted this incorrectly -- it means that each prime is followed by at least one composite somewhere on the list. But this is equivalent to saying that the last prime is followed by at least one composite. And all of these numbers are either composite or prime.



So it's actually just saying that: the list ends in a composite!



So: how many permutations are there such that the list ends in a composite?
Start by finding the number of ways to choose the last element; then find the number of ways to order all the remaining elements.



P.S.
I haven't heard of the "string method", but I think that neither of your two answers are right.



$1440$ can't be right because the total number of permutations of the set is $6! = 720$, which is smalle.r



$36$ I think would be correct if Vinyl_cape_jawa's interpretation is right.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    @N.F.Taussig Yeah I mixed that up. Fixed now.
    $endgroup$
    – 6005
    Mar 15 at 14:59













1












1








1





$begingroup$

To tackle this problem, we can start with the condition:




each prime is followed by at least one composite.




I think Vinyl_cape_jawa has interpreted this incorrectly -- it means that each prime is followed by at least one composite somewhere on the list. But this is equivalent to saying that the last prime is followed by at least one composite. And all of these numbers are either composite or prime.



So it's actually just saying that: the list ends in a composite!



So: how many permutations are there such that the list ends in a composite?
Start by finding the number of ways to choose the last element; then find the number of ways to order all the remaining elements.



P.S.
I haven't heard of the "string method", but I think that neither of your two answers are right.



$1440$ can't be right because the total number of permutations of the set is $6! = 720$, which is smalle.r



$36$ I think would be correct if Vinyl_cape_jawa's interpretation is right.






share|cite|improve this answer











$endgroup$



To tackle this problem, we can start with the condition:




each prime is followed by at least one composite.




I think Vinyl_cape_jawa has interpreted this incorrectly -- it means that each prime is followed by at least one composite somewhere on the list. But this is equivalent to saying that the last prime is followed by at least one composite. And all of these numbers are either composite or prime.



So it's actually just saying that: the list ends in a composite!



So: how many permutations are there such that the list ends in a composite?
Start by finding the number of ways to choose the last element; then find the number of ways to order all the remaining elements.



P.S.
I haven't heard of the "string method", but I think that neither of your two answers are right.



$1440$ can't be right because the total number of permutations of the set is $6! = 720$, which is smalle.r



$36$ I think would be correct if Vinyl_cape_jawa's interpretation is right.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Mar 15 at 14:59

























answered Mar 13 at 18:33









60056005

37k751127




37k751127











  • $begingroup$
    @N.F.Taussig Yeah I mixed that up. Fixed now.
    $endgroup$
    – 6005
    Mar 15 at 14:59
















  • $begingroup$
    @N.F.Taussig Yeah I mixed that up. Fixed now.
    $endgroup$
    – 6005
    Mar 15 at 14:59















$begingroup$
@N.F.Taussig Yeah I mixed that up. Fixed now.
$endgroup$
– 6005
Mar 15 at 14:59




$begingroup$
@N.F.Taussig Yeah I mixed that up. Fixed now.
$endgroup$
– 6005
Mar 15 at 14:59

















draft saved

draft discarded
















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3146950%2fnumber-of-permutations-such-that-each-prime-is-followed-by-at-least-one-composit%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How should I support this large drywall patch? Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How do I cover large gaps in drywall?How do I keep drywall around a patch from crumbling?Can I glue a second layer of drywall?How to patch long strip on drywall?Large drywall patch: how to avoid bulging seams?Drywall Mesh Patch vs. Bulge? To remove or not to remove?How to fix this drywall job?Prep drywall before backsplashWhat's the best way to fix this horrible drywall patch job?Drywall patching using 3M Patch Plus Primer

random experiment with two different functions on unit interval Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Random variable and probability space notionsRandom Walk with EdgesFinding functions where the increase over a random interval is Poisson distributedNumber of days until dayCan an observed event in fact be of zero probability?Unit random processmodels of coins and uniform distributionHow to get the number of successes given $n$ trials , probability $P$ and a random variable $X$Absorbing Markov chain in a computer. Is “almost every” turned into always convergence in computer executions?Stopped random walk is not uniformly integrable

Lowndes Grove History Architecture References Navigation menu32°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661132°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661178002500"National Register Information System"Historic houses of South Carolina"Lowndes Grove""+32° 48' 6.00", −79° 57' 58.00""Lowndes Grove, Charleston County (260 St. Margaret St., Charleston)""Lowndes Grove"The Charleston ExpositionIt Happened in South Carolina"Lowndes Grove (House), Saint Margaret Street & Sixth Avenue, Charleston, Charleston County, SC(Photographs)"Plantations of the Carolina Low Countrye