Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search
32 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
What's the smallest number that's divisible by all numbers 1 thru 20 without leaving a remainder? (Original Post) Yavin4 Aug 2012 OP
I understood there would be no math questions in the Lounge. bluedigger Aug 2012 #1
There's no math in the Lounge!1!! pinboy3niner Aug 2012 #22
product(prime(range(1...20))) nt Xipe Totec Aug 2012 #2
Incorrect. n/t Yavin4 Aug 2012 #5
Sadly, it fails at four. hunter Aug 2012 #6
Forget accuracy, look at the speed! Xipe Totec Aug 2012 #7
Ah, the Max Power way!!! caraher Aug 2012 #11
Google can fix that too! hunter Aug 2012 #12
That's it! Exactly! Xipe Totec Aug 2012 #14
9 699 690 / 20 = 484 984.5 Downwinder Aug 2012 #8
You want speed, or do you want accuracy? Xipe Totec Aug 2012 #9
Execute Plan Blue. Repeat. Execute Plan Blue. Scuba Aug 2012 #3
Answer: Google is awesome. hunter Aug 2012 #4
87? rug Aug 2012 #10
I believe it is fishwax Aug 2012 #13
Your First Answer is Correct. Yavin4 Aug 2012 #15
d'oh! that's what I get for changing my answer fishwax Aug 2012 #17
show your work to the class, please Tuesday Afternoon Aug 2012 #16
Calculation Art_from_Ark Aug 2012 #18
2^4*3^2*5*7*11*13*17*19 eppur_se_muova Aug 2012 #19
Incorrect. Yavin4 Aug 2012 #21
No, correct. Read carefully -- all prime *powers*. That's why I wrote 2^4, not 2, etc. eppur_se_muova Aug 2012 #26
I Stand Corrected Yavin4 Aug 2012 #29
Always blame your bad glasses prescription. eppur_se_muova Aug 2012 #30
Uhhhhh... this is hard. hkis5269se Aug 2012 #20
Is it the same as the airspeed velocity of the unladen sparrow? Liberal Veteran Aug 2012 #23
African or European? shadowrider Aug 2012 #31
In other words... Dr. Strange Aug 2012 #24
EXTRA CREDIT Dr. Strange Aug 2012 #25
101*103*N nt eppur_se_muova Aug 2012 #28
Winner! Dr. Strange Aug 2012 #32
You didn't say this was gonna be on the test! Ikonoklast Aug 2012 #27

caraher

(6,278 posts)
11. Ah, the Max Power way!!!
Mon Aug 20, 2012, 09:59 PM
Aug 2012

From The Simpsons... see following post for link that works! Mine was done the Max Power way!

Art_from_Ark

(27,247 posts)
18. Calculation
Tue Aug 21, 2012, 01:12 AM
Aug 2012

5 X 7 X 9 X 11 X 13 X 16 X 17 X 19 = 232,792,560

Explanation:
Must include all prime numbers (2,3,5,7,11,13,17,19), plus must be divisible by 9 (3 X 3) and 16 (2 X 2 X 2 X 2), so the prime numbers 2 and 3 by themselves can be excluded from the calculation.

eppur_se_muova

(36,269 posts)
26. No, correct. Read carefully -- all prime *powers*. That's why I wrote 2^4, not 2, etc.
Tue Aug 21, 2012, 03:34 PM
Aug 2012

This certainly works, and has useful applications in computational number theory -- see, for example http://en.wikipedia.org/wiki/Pollard's_p_%E2%88%92_1_algorithm#Algorithm_and_running_time . (Step 2 takes the product of all prime powers <= B.)

eppur_se_muova

(36,269 posts)
30. Always blame your bad glasses prescription.
Tue Aug 21, 2012, 05:36 PM
Aug 2012

On the Internet, no one knows if you wear glasses or not.

Liberal Veteran

(22,239 posts)
23. Is it the same as the airspeed velocity of the unladen sparrow?
Tue Aug 21, 2012, 09:56 AM
Aug 2012


I'm going to go with 42 since it my go to answer for everything.

Dr. Strange

(25,921 posts)
24. In other words...
Tue Aug 21, 2012, 10:56 AM
Aug 2012

what's the least common multiple of the numbers 1 through 20.

Focusing on the primes, what is the highest power of each prime which is less than or equal to 20?
Quick formula: for a prime p, use FLOOR(log(20)/log(p))

p=2: t=FLOOR(log(20)/log(2)) = 4
(Or you could just say, hey, 24 <= 20 < 25.)

p=3: t=FLOOR(log(20)/log(3)) = 2

p=5 through 19: t=FLOOR(log(20)/log(p)) = 1

So the answer is 24325111111131171191 = 232792560.

Dr. Strange

(25,921 posts)
25. EXTRA CREDIT
Tue Aug 21, 2012, 11:06 AM
Aug 2012

Let N denote the smallest positive integer which is divisible by all integers from 1 to 100. Find the smallest positive integer, in terms of N, which is divisible by all integers from 1 to 105.

Ikonoklast

(23,973 posts)
27. You didn't say this was gonna be on the test!
Tue Aug 21, 2012, 03:57 PM
Aug 2012

All week, we asked you, "Is this gonna be on the test? Is this gonna be on the test?"

You never said, "YES, this will be on the test!"

NOW IT'S ON THE TEST!!!

I'm telling Principal Skinner!!

Latest Discussions»The DU Lounge»What's the smallest numbe...