Can somebody elaborate the maths behind this problem?Can someone please explain the catch behind this...

Why is the design of haulage companies so “special”?

How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?

Could a US political party gain complete control over the government by removing checks & balances?

I probably found a bug with the sudo apt install function

Is there a minimum number of transactions in a block?

How old can references or sources in a thesis be?

A Journey Through Space and Time

Can I interfere when another PC is about to be attacked?

XeLaTeX and pdfLaTeX ignore hyphenation

What is the meaning of "of trouble" in the following sentence?

Calculus Optimization - Point on graph closest to given point

What do you call a Matrix-like slowdown and camera movement effect?

Simulate Bitwise Cyclic Tag

Draw simple lines in Inkscape

declaring a variable twice in IIFE

What are these boxed doors outside store fronts in New York?

Email Account under attack (really) - anything I can do?

How do we improve the relationship with a client software team that performs poorly and is becoming less collaborative?

My colleague's body is amazing

If Manufacturer spice model and Datasheet give different values which should I use?

How do you conduct xenoanthropology after first contact?

What would happen to a modern skyscraper if it rains micro blackholes?

Prevent a directory in /tmp from being deleted

"which" command doesn't work / path of Safari?



Can somebody elaborate the maths behind this problem?


Can someone please explain the catch behind this question?Solution to this problem?Divisibility Problem: How can I solve this?Maths problem on distance and time.The Weaver Android app $rightarrow$ cute combinatorics problemBehind which door is the princess?Mathematics behind this card trickCan this problem be generalised mathematically?What is the logic behind this puzzle's answer?Cover Chessboard with Domino Tiles













-2












$begingroup$


Theatre Square in the capital city of Berland has a rectangular shape with the size n × m meters. On the occasion of the city's anniversary, a decision was taken to pave the Square with square granite flagstones. Each flagstone is of the size $a times  a$.



What is the least number of flagstones needed to pave the Square? It's allowed to cover the surface larger than the Theatre Square, but the Square has to be covered. It's not allowed to break the flagstones. The sides of flagstones should be parallel to the sides of the Square.



Note: $a$, $n$ and $m$ are integers and the final answer should also be an integer.



Say that $n$ and $m$ are both $6$ and $a$ is $4$. Then the minimum no should be $4$.










share|cite|improve this question











$endgroup$












  • $begingroup$
    Is $a$ an integer number?
    $endgroup$
    – Berci
    Mar 20 at 13:22










  • $begingroup$
    Edited the question!
    $endgroup$
    – RaphX
    Mar 20 at 13:24










  • $begingroup$
    Maybe you can consider the two dimensions separately, if the stones are laid in a rectangular grid. So you can ask: What is the smallest multiple of $a$ that's $geq n$ ? And the same for $m$ ...
    $endgroup$
    – Matti P.
    Mar 20 at 13:27










  • $begingroup$
    The problem statement says "It's allowed to cover the surface larger than the Theatre Square". So what disallows a solution with one giant square flagstone with sides $ge max(m,n)$ ?
    $endgroup$
    – gandalf61
    Mar 20 at 13:50










  • $begingroup$
    For equations, please use MathJax.
    $endgroup$
    – dantopa
    Mar 21 at 0:56
















-2












$begingroup$


Theatre Square in the capital city of Berland has a rectangular shape with the size n × m meters. On the occasion of the city's anniversary, a decision was taken to pave the Square with square granite flagstones. Each flagstone is of the size $a times  a$.



What is the least number of flagstones needed to pave the Square? It's allowed to cover the surface larger than the Theatre Square, but the Square has to be covered. It's not allowed to break the flagstones. The sides of flagstones should be parallel to the sides of the Square.



Note: $a$, $n$ and $m$ are integers and the final answer should also be an integer.



Say that $n$ and $m$ are both $6$ and $a$ is $4$. Then the minimum no should be $4$.










share|cite|improve this question











$endgroup$












  • $begingroup$
    Is $a$ an integer number?
    $endgroup$
    – Berci
    Mar 20 at 13:22










  • $begingroup$
    Edited the question!
    $endgroup$
    – RaphX
    Mar 20 at 13:24










  • $begingroup$
    Maybe you can consider the two dimensions separately, if the stones are laid in a rectangular grid. So you can ask: What is the smallest multiple of $a$ that's $geq n$ ? And the same for $m$ ...
    $endgroup$
    – Matti P.
    Mar 20 at 13:27










  • $begingroup$
    The problem statement says "It's allowed to cover the surface larger than the Theatre Square". So what disallows a solution with one giant square flagstone with sides $ge max(m,n)$ ?
    $endgroup$
    – gandalf61
    Mar 20 at 13:50










  • $begingroup$
    For equations, please use MathJax.
    $endgroup$
    – dantopa
    Mar 21 at 0:56














-2












-2








-2


0



$begingroup$


Theatre Square in the capital city of Berland has a rectangular shape with the size n × m meters. On the occasion of the city's anniversary, a decision was taken to pave the Square with square granite flagstones. Each flagstone is of the size $a times  a$.



What is the least number of flagstones needed to pave the Square? It's allowed to cover the surface larger than the Theatre Square, but the Square has to be covered. It's not allowed to break the flagstones. The sides of flagstones should be parallel to the sides of the Square.



Note: $a$, $n$ and $m$ are integers and the final answer should also be an integer.



Say that $n$ and $m$ are both $6$ and $a$ is $4$. Then the minimum no should be $4$.










share|cite|improve this question











$endgroup$




Theatre Square in the capital city of Berland has a rectangular shape with the size n × m meters. On the occasion of the city's anniversary, a decision was taken to pave the Square with square granite flagstones. Each flagstone is of the size $a times  a$.



What is the least number of flagstones needed to pave the Square? It's allowed to cover the surface larger than the Theatre Square, but the Square has to be covered. It's not allowed to break the flagstones. The sides of flagstones should be parallel to the sides of the Square.



Note: $a$, $n$ and $m$ are integers and the final answer should also be an integer.



Say that $n$ and $m$ are both $6$ and $a$ is $4$. Then the minimum no should be $4$.







arithmetic puzzle






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Mar 21 at 0:57









dantopa

6,66442245




6,66442245










asked Mar 20 at 13:20









RaphXRaphX

167




167












  • $begingroup$
    Is $a$ an integer number?
    $endgroup$
    – Berci
    Mar 20 at 13:22










  • $begingroup$
    Edited the question!
    $endgroup$
    – RaphX
    Mar 20 at 13:24










  • $begingroup$
    Maybe you can consider the two dimensions separately, if the stones are laid in a rectangular grid. So you can ask: What is the smallest multiple of $a$ that's $geq n$ ? And the same for $m$ ...
    $endgroup$
    – Matti P.
    Mar 20 at 13:27










  • $begingroup$
    The problem statement says "It's allowed to cover the surface larger than the Theatre Square". So what disallows a solution with one giant square flagstone with sides $ge max(m,n)$ ?
    $endgroup$
    – gandalf61
    Mar 20 at 13:50










  • $begingroup$
    For equations, please use MathJax.
    $endgroup$
    – dantopa
    Mar 21 at 0:56


















  • $begingroup$
    Is $a$ an integer number?
    $endgroup$
    – Berci
    Mar 20 at 13:22










  • $begingroup$
    Edited the question!
    $endgroup$
    – RaphX
    Mar 20 at 13:24










  • $begingroup$
    Maybe you can consider the two dimensions separately, if the stones are laid in a rectangular grid. So you can ask: What is the smallest multiple of $a$ that's $geq n$ ? And the same for $m$ ...
    $endgroup$
    – Matti P.
    Mar 20 at 13:27










  • $begingroup$
    The problem statement says "It's allowed to cover the surface larger than the Theatre Square". So what disallows a solution with one giant square flagstone with sides $ge max(m,n)$ ?
    $endgroup$
    – gandalf61
    Mar 20 at 13:50










  • $begingroup$
    For equations, please use MathJax.
    $endgroup$
    – dantopa
    Mar 21 at 0:56
















$begingroup$
Is $a$ an integer number?
$endgroup$
– Berci
Mar 20 at 13:22




$begingroup$
Is $a$ an integer number?
$endgroup$
– Berci
Mar 20 at 13:22












$begingroup$
Edited the question!
$endgroup$
– RaphX
Mar 20 at 13:24




$begingroup$
Edited the question!
$endgroup$
– RaphX
Mar 20 at 13:24












$begingroup$
Maybe you can consider the two dimensions separately, if the stones are laid in a rectangular grid. So you can ask: What is the smallest multiple of $a$ that's $geq n$ ? And the same for $m$ ...
$endgroup$
– Matti P.
Mar 20 at 13:27




$begingroup$
Maybe you can consider the two dimensions separately, if the stones are laid in a rectangular grid. So you can ask: What is the smallest multiple of $a$ that's $geq n$ ? And the same for $m$ ...
$endgroup$
– Matti P.
Mar 20 at 13:27












$begingroup$
The problem statement says "It's allowed to cover the surface larger than the Theatre Square". So what disallows a solution with one giant square flagstone with sides $ge max(m,n)$ ?
$endgroup$
– gandalf61
Mar 20 at 13:50




$begingroup$
The problem statement says "It's allowed to cover the surface larger than the Theatre Square". So what disallows a solution with one giant square flagstone with sides $ge max(m,n)$ ?
$endgroup$
– gandalf61
Mar 20 at 13:50












$begingroup$
For equations, please use MathJax.
$endgroup$
– dantopa
Mar 21 at 0:56




$begingroup$
For equations, please use MathJax.
$endgroup$
– dantopa
Mar 21 at 0:56










1 Answer
1






active

oldest

votes


















3












$begingroup$

We can without loss generality dub n the height of the rectangle and m the width.



The total number of flagstones is equal to the number of flagstones needed to cover the width of theatre square times the number of flagstones needed to cover the height.



The number of flagstones that are needed to cover the height is equal to the height n divided by the height of a flagstone a, but if n is not divisible by a then that number is some fraction, but we still need to cover the same area as that fraction of a flagstone does, the solution the next integer higher than $frac{n}a$, the ceiling function.



As the same thing holds for theatre squares width m, the total number of flagstones must be



$lceilfrac{n}arceiltimeslceilfrac{m}arceil$






share|cite|improve this answer











$endgroup$













  • $begingroup$
    This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
    $endgroup$
    – jgon
    Mar 20 at 14:31










  • $begingroup$
    is this better? sorry, I am new to this website.
    $endgroup$
    – Tuesdaydeviceofmathdestruction
    Mar 20 at 16:01










  • $begingroup$
    Ok, your explanation makes sense!
    $endgroup$
    – RaphX
    Mar 21 at 3:01












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%2f3155433%2fcan-somebody-elaborate-the-maths-behind-this-problem%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









3












$begingroup$

We can without loss generality dub n the height of the rectangle and m the width.



The total number of flagstones is equal to the number of flagstones needed to cover the width of theatre square times the number of flagstones needed to cover the height.



The number of flagstones that are needed to cover the height is equal to the height n divided by the height of a flagstone a, but if n is not divisible by a then that number is some fraction, but we still need to cover the same area as that fraction of a flagstone does, the solution the next integer higher than $frac{n}a$, the ceiling function.



As the same thing holds for theatre squares width m, the total number of flagstones must be



$lceilfrac{n}arceiltimeslceilfrac{m}arceil$






share|cite|improve this answer











$endgroup$













  • $begingroup$
    This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
    $endgroup$
    – jgon
    Mar 20 at 14:31










  • $begingroup$
    is this better? sorry, I am new to this website.
    $endgroup$
    – Tuesdaydeviceofmathdestruction
    Mar 20 at 16:01










  • $begingroup$
    Ok, your explanation makes sense!
    $endgroup$
    – RaphX
    Mar 21 at 3:01
















3












$begingroup$

We can without loss generality dub n the height of the rectangle and m the width.



The total number of flagstones is equal to the number of flagstones needed to cover the width of theatre square times the number of flagstones needed to cover the height.



The number of flagstones that are needed to cover the height is equal to the height n divided by the height of a flagstone a, but if n is not divisible by a then that number is some fraction, but we still need to cover the same area as that fraction of a flagstone does, the solution the next integer higher than $frac{n}a$, the ceiling function.



As the same thing holds for theatre squares width m, the total number of flagstones must be



$lceilfrac{n}arceiltimeslceilfrac{m}arceil$






share|cite|improve this answer











$endgroup$













  • $begingroup$
    This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
    $endgroup$
    – jgon
    Mar 20 at 14:31










  • $begingroup$
    is this better? sorry, I am new to this website.
    $endgroup$
    – Tuesdaydeviceofmathdestruction
    Mar 20 at 16:01










  • $begingroup$
    Ok, your explanation makes sense!
    $endgroup$
    – RaphX
    Mar 21 at 3:01














3












3








3





$begingroup$

We can without loss generality dub n the height of the rectangle and m the width.



The total number of flagstones is equal to the number of flagstones needed to cover the width of theatre square times the number of flagstones needed to cover the height.



The number of flagstones that are needed to cover the height is equal to the height n divided by the height of a flagstone a, but if n is not divisible by a then that number is some fraction, but we still need to cover the same area as that fraction of a flagstone does, the solution the next integer higher than $frac{n}a$, the ceiling function.



As the same thing holds for theatre squares width m, the total number of flagstones must be



$lceilfrac{n}arceiltimeslceilfrac{m}arceil$






share|cite|improve this answer











$endgroup$



We can without loss generality dub n the height of the rectangle and m the width.



The total number of flagstones is equal to the number of flagstones needed to cover the width of theatre square times the number of flagstones needed to cover the height.



The number of flagstones that are needed to cover the height is equal to the height n divided by the height of a flagstone a, but if n is not divisible by a then that number is some fraction, but we still need to cover the same area as that fraction of a flagstone does, the solution the next integer higher than $frac{n}a$, the ceiling function.



As the same thing holds for theatre squares width m, the total number of flagstones must be



$lceilfrac{n}arceiltimeslceilfrac{m}arceil$







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Mar 20 at 15:55

























answered Mar 20 at 14:10









TuesdaydeviceofmathdestructionTuesdaydeviceofmathdestruction

463




463












  • $begingroup$
    This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
    $endgroup$
    – jgon
    Mar 20 at 14:31










  • $begingroup$
    is this better? sorry, I am new to this website.
    $endgroup$
    – Tuesdaydeviceofmathdestruction
    Mar 20 at 16:01










  • $begingroup$
    Ok, your explanation makes sense!
    $endgroup$
    – RaphX
    Mar 21 at 3:01


















  • $begingroup$
    This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
    $endgroup$
    – jgon
    Mar 20 at 14:31










  • $begingroup$
    is this better? sorry, I am new to this website.
    $endgroup$
    – Tuesdaydeviceofmathdestruction
    Mar 20 at 16:01










  • $begingroup$
    Ok, your explanation makes sense!
    $endgroup$
    – RaphX
    Mar 21 at 3:01
















$begingroup$
This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
$endgroup$
– jgon
Mar 20 at 14:31




$begingroup$
This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review
$endgroup$
– jgon
Mar 20 at 14:31












$begingroup$
is this better? sorry, I am new to this website.
$endgroup$
– Tuesdaydeviceofmathdestruction
Mar 20 at 16:01




$begingroup$
is this better? sorry, I am new to this website.
$endgroup$
– Tuesdaydeviceofmathdestruction
Mar 20 at 16:01












$begingroup$
Ok, your explanation makes sense!
$endgroup$
– RaphX
Mar 21 at 3:01




$begingroup$
Ok, your explanation makes sense!
$endgroup$
– RaphX
Mar 21 at 3:01


















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%2f3155433%2fcan-somebody-elaborate-the-maths-behind-this-problem%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

Nidaros erkebispedøme

Birsay

Where did Arya get these scars? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Favourite questions and answers from the 1st quarter of 2019Why did Arya refuse to end it?Has the pronunciation of Arya Stark's name changed?Has Arya forgiven people?Why did Arya Stark lose her vision?Why can Arya still use the faces?Has the Narrow Sea become narrower?Does Arya Stark know how to make poisons outside of the House of Black and White?Why did Nymeria leave Arya?Why did Arya not kill the Lannister soldiers she encountered in the Riverlands?What is the current canonical age of Sansa, Bran and Arya Stark?