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

Solar Wings Breeze Design and development Specifications (Breeze) References Navigation menu1368-485X"Hang glider: Breeze (Solar Wings)"e

Kathakali Contents Etymology and nomenclature History Repertoire Songs and musical instruments Traditional plays Styles: Sampradayam Training centers and awards Relationship to other dance forms See also Notes References External links Navigation menueThe Illustrated Encyclopedia of Hinduism: A-MSouth Asian Folklore: An EncyclopediaRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to Play10.1353/atj.2005.0004The Illustrated Encyclopedia of Hinduism: A-MEncyclopedia of HinduismKathakali Dance-drama: Where Gods and Demons Come to PlaySonic Liturgy: Ritual and Music in Hindu Tradition"The Mirror of Gesture"Kathakali Dance-drama: Where Gods and Demons Come to Play"Kathakali"Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceMedieval Indian Literature: An AnthologyThe Oxford Companion to Indian TheatreSouth Asian Folklore: An Encyclopedia : Afghanistan, Bangladesh, India, Nepal, Pakistan, Sri LankaThe Rise of Performance Studies: Rethinking Richard Schechner's Broad SpectrumIndian Theatre: Traditions of PerformanceModern Asian Theatre and Performance 1900-2000Critical Theory and PerformanceBetween Theater and AnthropologyKathakali603847011Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceBetween Theater and AnthropologyBetween Theater and AnthropologyNambeesan Smaraka AwardsArchivedThe Cambridge Guide to TheatreRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeThe Garland Encyclopedia of World Music: South Asia : the Indian subcontinentThe Ethos of Noh: Actors and Their Art10.2307/1145740By Means of Performance: Intercultural Studies of Theatre and Ritual10.1017/s204912550000100xReconceiving the Renaissance: A Critical ReaderPerformance TheoryListening to Theatre: The Aural Dimension of Beijing Opera10.2307/1146013Kathakali: The Art of the Non-WorldlyOn KathakaliKathakali, the dance theatreThe Kathakali Complex: Performance & StructureKathakali Dance-Drama: Where Gods and Demons Come to Play10.1093/obo/9780195399318-0071Drama and Ritual of Early Hinduism"In the Shadow of Hollywood Orientalism: Authentic East Indian Dancing"10.1080/08949460490274013Sanskrit Play Production in Ancient IndiaIndian Music: History and StructureBharata, the Nāṭyaśāstra233639306Table of Contents2238067286469807Dance In Indian Painting10.2307/32047833204783Kathakali Dance-Theatre: A Visual Narrative of Sacred Indian MimeIndian Classical Dance: The Renaissance and BeyondKathakali: an indigenous art-form of Keralaeee

Method to test if a number is a perfect power? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Detecting perfect squares faster than by extracting square rooteffective way to get the integer sequence A181392 from oeisA rarely mentioned fact about perfect powersHow many numbers such $n$ are there that $n<100,lfloorsqrtn rfloor mid n$Check perfect squareness by modulo division against multiple basesFor what pair of integers $(a,b)$ is $3^a + 7^b$ a perfect square.Do there exist any positive integers $n$ such that $lfloore^nrfloor$ is a perfect power? What is the probability that one exists?finding perfect power factors of an integerProve that the sequence contains a perfect square for any natural number $m $ in the domain of $f$ .Counting Perfect Powers