What is the sum of all integers between 17 and 325 that are NOT divisible by either the number 7 or the number 11? [closed]How many 4-element subsets of a given set contain no consecutive integersPigeon-Hole Principle and 2d gridAnother Translation to Propositional Logic TroubleSolving Recurrence Relation Word ProblemsDiscrete Maths - need helpUse induction to show that any integer greater than 3 can be represented as a sum of 2s and 5s.How do I prove the number of dearangaments intuitivly?Using digits 1, 3, 4, 6, 7, create the largest five-digit even number that is divisible by 3.Discrete mathematics - logical equivalence?Proving divisibility by pigeonhole principle
Why is the "ls" command showing permissions of files in a FAT32 partition?
Terse Method to Swap Lowest for Highest?
How do you respond to a colleague from another team when they're wrongly expecting that you'll help them?
What is the highest possible scrabble score for placing a single tile
How to cover method return statement in Apex Class?
Does Doodling or Improvising on the Piano Have Any Benefits?
Temporarily disable WLAN internet access for children, but allow it for adults
Does an advisor owe his/her student anything? Will an advisor keep a PhD student only out of pity?
Why does a simple loop result in ASYNC_NETWORK_IO waits?
What is Cash Advance APR?
Why should universal income be universal?
Can a College of Swords bard use a Blade Flourish option on an opportunity attack provoked by their own Dissonant Whispers spell?
Redundant comparison & "if" before assignment
The IT department bottlenecks progress. How should I handle this?
What happens if you are holding an Iron Flask with a demon inside and walk into an Antimagic Field?
Why would a new[] expression ever invoke a destructor?
Add big quotation marks inside my colorbox
Quoting Keynes in a lecture
On a tidally locked planet, would time be quantized?
How can "mimic phobia" be cured or prevented?
Calculating total slots
How do apertures which seem too large to physically fit work?
Can I say "fingers" when referring to toes?
Using substitution ciphers to generate new alphabets in a novel
What is the sum of all integers between 17 and 325 that are NOT divisible by either the number 7 or the number 11? [closed]
How many 4-element subsets of a given set contain no consecutive integersPigeon-Hole Principle and 2d gridAnother Translation to Propositional Logic TroubleSolving Recurrence Relation Word ProblemsDiscrete Maths - need helpUse induction to show that any integer greater than 3 can be represented as a sum of 2s and 5s.How do I prove the number of dearangaments intuitivly?Using digits 1, 3, 4, 6, 7, create the largest five-digit even number that is divisible by 3.Discrete mathematics - logical equivalence?Proving divisibility by pigeonhole principle
$begingroup$
What is the sum of all integers between 17 and 325 that are NOT divisible by either
the number 7 or the number 11? Sigma notation and other inference/logic rules must be used to solve this problem.
A couple of my friends got 41289 as a final answer while me and a few others got 46902. Could someone please clarify?
discrete-mathematics
$endgroup$
closed as off-topic by Saad, mrtaurho, Vinyl_cape_jawa, Riccardo.Alestra, Mike Earnest Mar 15 at 15:49
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Saad, mrtaurho, Vinyl_cape_jawa, Riccardo.Alestra, Mike Earnest
add a comment |
$begingroup$
What is the sum of all integers between 17 and 325 that are NOT divisible by either
the number 7 or the number 11? Sigma notation and other inference/logic rules must be used to solve this problem.
A couple of my friends got 41289 as a final answer while me and a few others got 46902. Could someone please clarify?
discrete-mathematics
$endgroup$
closed as off-topic by Saad, mrtaurho, Vinyl_cape_jawa, Riccardo.Alestra, Mike Earnest Mar 15 at 15:49
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Saad, mrtaurho, Vinyl_cape_jawa, Riccardo.Alestra, Mike Earnest
1
$begingroup$
Find the sum of all integers between 17 and 325, subtract the sums of the multiples of 7 and 11, then add back in the sums of multiples of 77.
$endgroup$
– Don Thousand
Mar 15 at 2:17
$begingroup$
The answer should be 41289
$endgroup$
– Don Thousand
Mar 15 at 2:54
add a comment |
$begingroup$
What is the sum of all integers between 17 and 325 that are NOT divisible by either
the number 7 or the number 11? Sigma notation and other inference/logic rules must be used to solve this problem.
A couple of my friends got 41289 as a final answer while me and a few others got 46902. Could someone please clarify?
discrete-mathematics
$endgroup$
What is the sum of all integers between 17 and 325 that are NOT divisible by either
the number 7 or the number 11? Sigma notation and other inference/logic rules must be used to solve this problem.
A couple of my friends got 41289 as a final answer while me and a few others got 46902. Could someone please clarify?
discrete-mathematics
discrete-mathematics
asked Mar 15 at 2:16
EagerissacEagerissac
163
163
closed as off-topic by Saad, mrtaurho, Vinyl_cape_jawa, Riccardo.Alestra, Mike Earnest Mar 15 at 15:49
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Saad, mrtaurho, Vinyl_cape_jawa, Riccardo.Alestra, Mike Earnest
closed as off-topic by Saad, mrtaurho, Vinyl_cape_jawa, Riccardo.Alestra, Mike Earnest Mar 15 at 15:49
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Saad, mrtaurho, Vinyl_cape_jawa, Riccardo.Alestra, Mike Earnest
1
$begingroup$
Find the sum of all integers between 17 and 325, subtract the sums of the multiples of 7 and 11, then add back in the sums of multiples of 77.
$endgroup$
– Don Thousand
Mar 15 at 2:17
$begingroup$
The answer should be 41289
$endgroup$
– Don Thousand
Mar 15 at 2:54
add a comment |
1
$begingroup$
Find the sum of all integers between 17 and 325, subtract the sums of the multiples of 7 and 11, then add back in the sums of multiples of 77.
$endgroup$
– Don Thousand
Mar 15 at 2:17
$begingroup$
The answer should be 41289
$endgroup$
– Don Thousand
Mar 15 at 2:54
1
1
$begingroup$
Find the sum of all integers between 17 and 325, subtract the sums of the multiples of 7 and 11, then add back in the sums of multiples of 77.
$endgroup$
– Don Thousand
Mar 15 at 2:17
$begingroup$
Find the sum of all integers between 17 and 325, subtract the sums of the multiples of 7 and 11, then add back in the sums of multiples of 77.
$endgroup$
– Don Thousand
Mar 15 at 2:17
$begingroup$
The answer should be 41289
$endgroup$
– Don Thousand
Mar 15 at 2:54
$begingroup$
The answer should be 41289
$endgroup$
– Don Thousand
Mar 15 at 2:54
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
The basic idea is to sum all the integers between 17 and 325, then subtract out multiple of 7 and 11, then add back in elements you double subtracted, i.e 77.
Here's some Python code to check your answer, as this is annoying to do by hand.
import numpy as np
a = np.arange(17,326,1)
b = np.arange(17, 325, 7)
c = np.arange(17, 326, 11)
d = np.arange(17, 326, 77)
print((np.sum(a)) - np.sum(b) - np.sum(c) + np.sum(d))
$endgroup$
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
The basic idea is to sum all the integers between 17 and 325, then subtract out multiple of 7 and 11, then add back in elements you double subtracted, i.e 77.
Here's some Python code to check your answer, as this is annoying to do by hand.
import numpy as np
a = np.arange(17,326,1)
b = np.arange(17, 325, 7)
c = np.arange(17, 326, 11)
d = np.arange(17, 326, 77)
print((np.sum(a)) - np.sum(b) - np.sum(c) + np.sum(d))
$endgroup$
add a comment |
$begingroup$
The basic idea is to sum all the integers between 17 and 325, then subtract out multiple of 7 and 11, then add back in elements you double subtracted, i.e 77.
Here's some Python code to check your answer, as this is annoying to do by hand.
import numpy as np
a = np.arange(17,326,1)
b = np.arange(17, 325, 7)
c = np.arange(17, 326, 11)
d = np.arange(17, 326, 77)
print((np.sum(a)) - np.sum(b) - np.sum(c) + np.sum(d))
$endgroup$
add a comment |
$begingroup$
The basic idea is to sum all the integers between 17 and 325, then subtract out multiple of 7 and 11, then add back in elements you double subtracted, i.e 77.
Here's some Python code to check your answer, as this is annoying to do by hand.
import numpy as np
a = np.arange(17,326,1)
b = np.arange(17, 325, 7)
c = np.arange(17, 326, 11)
d = np.arange(17, 326, 77)
print((np.sum(a)) - np.sum(b) - np.sum(c) + np.sum(d))
$endgroup$
The basic idea is to sum all the integers between 17 and 325, then subtract out multiple of 7 and 11, then add back in elements you double subtracted, i.e 77.
Here's some Python code to check your answer, as this is annoying to do by hand.
import numpy as np
a = np.arange(17,326,1)
b = np.arange(17, 325, 7)
c = np.arange(17, 326, 11)
d = np.arange(17, 326, 77)
print((np.sum(a)) - np.sum(b) - np.sum(c) + np.sum(d))
answered Mar 15 at 2:55
EthanEthan
163
163
add a comment |
add a comment |
1
$begingroup$
Find the sum of all integers between 17 and 325, subtract the sums of the multiples of 7 and 11, then add back in the sums of multiples of 77.
$endgroup$
– Don Thousand
Mar 15 at 2:17
$begingroup$
The answer should be 41289
$endgroup$
– Don Thousand
Mar 15 at 2:54