• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 16:45
CEST 22:45
KST 05:45
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Hiatus From ASL58Weekly Cups (June 23-29): Reynor in world title form?13FEL Cracov 2025 (July 27) - $8000 live event19Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
Program: SC2 / XSplit / OBS Scene Switcher Statistics for vetoed/disliked maps The SCII GOAT: A statistical Evaluation Weekly Cups (June 23-29): Reynor in world title form? PiG Sty Festival #5: Playoffs Preview + Groups Recap
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event RSL: Revival, a new crowdfunded tournament series Korean Starcraft League Week 77 Master Swan Open (Global Bronze-Master 2) [GSL 2025] Code S: Season 2 - Semi Finals & Finals
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
SC uni coach streams logging into betting site Flash Announces Hiatus From ASL BGH Mineral Boosts Tutorial Video Player “Jedi” cheat on CSL Replays question
Tourneys
[Megathread] Daily Proleagues [BSL20] Grand Finals - Sunday 20:00 CET Small VOD Thread 2.0 [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Trading/Investing Thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 522 users

[Math] Prime number progression?!

Forum Index > General Forum
Post a Reply
Normal
graNite
Profile Blog Joined December 2010
Germany4434 Posts
April 21 2011 22:48 GMT
#1
hi tl
i saw a few math topics recently and noticed there are some good mathematics here.
i have a prime number problem and can't solve it.

lets look at this progression (is progression the right word?)

[image loading] with [image loading]

it produces:

2
3
7
127
...

how can i prove that every number coming of this progression is prime?
if that's not possible, how can i disprove it?

ty
"Oink oink, bitches" - Tasteless on Pigbaby winning a map against Flash
Bibdy
Profile Joined March 2010
United States3481 Posts
Last Edited: 2011-04-21 22:50:23
April 21 2011 22:50 GMT
#2
I haven't done mathematical proofs in donkey's years, but I recall the easiest way to disprove something is to find one specific scenario where the rule doesn't work. That's enough to can the whole formula.
graNite
Profile Blog Joined December 2010
Germany4434 Posts
April 21 2011 22:51 GMT
#3
the problem is that the numbers get really high really fast.
after 127 comes 2^127-1 ... (which is prime)
"Oink oink, bitches" - Tasteless on Pigbaby winning a map against Flash
Starfox
Profile Joined April 2010
Austria699 Posts
April 21 2011 23:03 GMT
#4
You are looking at http://en.wikipedia.org/wiki/Mersenne_prime basically. If you'd be abelt to proof that every step produces a prime you would be the candidate for the next fields medal for sure. :D
Greek Mythology 2.0: Imagine Sisyphos as a man who wants to watch all videos on youtube... and Tityos as one who HAS to watch all of them.
graNite
Profile Blog Joined December 2010
Germany4434 Posts
April 21 2011 23:05 GMT
#5
Will do.

Anyone with a supercomp here? Need a5 - a100 :D
"Oink oink, bitches" - Tasteless on Pigbaby winning a map against Flash
Antisocialmunky
Profile Blog Joined March 2010
United States5912 Posts
Last Edited: 2011-04-21 23:05:50
April 21 2011 23:05 GMT
#6
:\ can't you google your homework?

The proof is on wiki.
[゚n゚] SSSSssssssSSsss ¯\_(ツ)_/¯
Marine/Raven Guide:http://www.teamliquid.net/forum/viewmessage.php?topic_id=163605
gogogadgetflow
Profile Joined March 2010
United States2583 Posts
April 21 2011 23:08 GMT
#7
If his homework is interesting in and of itself and generates discussion I think he has the right to share it. Of course math isn't my strong suit so I can't say if its interesting or not :p
JingleHell
Profile Blog Joined March 2011
United States11308 Posts
April 21 2011 23:11 GMT
#8
On April 22 2011 08:03 Starfox wrote:
You are looking at http://en.wikipedia.org/wiki/Mersenne_prime basically. If you'd be abelt to proof that every step produces a prime you would be the candidate for the next fields medal for sure. :D


Isn't there a cash bounty for calculating new Mersenne primes?
qrs
Profile Blog Joined December 2007
United States3637 Posts
April 21 2011 23:12 GMT
#9
On April 22 2011 08:03 Starfox wrote:
You are looking at http://en.wikipedia.org/wiki/Mersenne_prime basically.
Well...a tiny subset of Mersenne primes, anyway.
'As per the American Heart Association, the beat of the Bee Gees song "Stayin' Alive" provides an ideal rhythm in terms of beats per minute to use for hands-only CPR. One can also hum Queen's "Another One Bites The Dust".' —Wikipedia
stepover12
Profile Joined May 2010
United States175 Posts
April 21 2011 23:19 GMT
#10
I was thinking about how to prove it using fermat's little theorem... but according to wiki it is still an open question

http://en.wikipedia.org/wiki/Catalan's_Mersenne_conjecture#Catalan-Mersenne_number

"Although the first five terms (up to M(127)) are prime, no known methods can decide if any more of these numbers are prime (in any reasonable time) simply because the numbers in question are too huge, unless a factor of M(M(127)) is discovered."

Primadog
Profile Blog Joined April 2010
United States4411 Posts
Last Edited: 2011-04-21 23:22:52
April 21 2011 23:20 GMT
#11
[edit] sorry, I don't know what I am talking about.
Thank God and gunrun.
mcc
Profile Joined October 2010
Czech Republic4646 Posts
Last Edited: 2011-04-21 23:25:45
April 21 2011 23:23 GMT
#12
On April 22 2011 08:05 graNite wrote:
Will do.

Anyone with a supercomp here? Need a5 - a100 :D

I don't think any computer will help you to do that. a5 = M127 and is a prime, but above that you are too far out.

If you would be able to prove your statement, then you would have solved one of important unsolved mathematical problems and I do not think anyone here can really help you with that Basically if I see it correctly you would have proven that there is infinite number of Mersenne primes.

EDIT:typo
ptrpb
Profile Joined March 2011
Canada753 Posts
April 21 2011 23:26 GMT
#13
RECURSIVE INDUCTION
FUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
Just finished a course on this stuff, but I've forgotten most of it sorry man.
Best of luck though
MBAACC | SG | shit at fighting games
MisterD
Profile Blog Joined June 2010
Germany1338 Posts
April 21 2011 23:27 GMT
#14
i tried ..

(01:24) gp > a = 2
%1 = 2
(01:24) gp > a = 2 ^ a - 1
%2 = 3
(01:24) gp > a = 2 ^ a - 1
%3 = 7
(01:24) gp > a = 2 ^ a - 1
%4 = 127
(01:24) gp > a = 2 ^ a - 1
%5 = 170141183460469231731687303715884105727
(01:24) gp > a = 2 ^ a - 1
*** length (lg) overflow

so .. a5 works, a6 does not work anymore^^ it's a little big.

so for a5:

(01:24) gp > a
%6 = 170141183460469231731687303715884105727
(01:25) gp > factor(a)
%7 = [170141183460469231731687303715884105727 1]

meaning a5 is still prime.
Gold isn't everything in life... you need wood, too!
Day[9]
Profile Blog Joined April 2003
United States7366 Posts
April 21 2011 23:29 GMT
#15
2^67 - 1 = 147,573,952,589,676,412,927 = 193,707,721 x 761,838,257,287

So 2^67 isn't prime : ]

Cheers!

Whenever I encounter some little hitch, or some of my orbs get out of orbit, nothing pleases me so much as to make the crooked straight and crush down uneven places. www.day9.tv
Day[9]
Profile Blog Joined April 2003
United States7366 Posts
April 21 2011 23:30 GMT
#16
Oh shit I misread your post, I thought you were asking about Marsenne primes in general. Agh I'm such a doof
Whenever I encounter some little hitch, or some of my orbs get out of orbit, nothing pleases me so much as to make the crooked straight and crush down uneven places. www.day9.tv
Primadog
Profile Blog Joined April 2010
United States4411 Posts
April 21 2011 23:32 GMT
#17
Can we start nominating Day9 for the fields medal yet?
Thank God and gunrun.
Oracle
Profile Blog Joined May 2007
Canada411 Posts
Last Edited: 2011-04-21 23:37:41
April 21 2011 23:32 GMT
#18
If there were a way to prove that this progression results in primes then people wouldn't be paid $100,000 to find the next largest prime, since 2^a_n - 1 where an is some arbitrarily large prime in that sequence is prime.... we could theoretically have infinitely many large primer numbers, bigger than the largest known prime number.... unless my logic doesnt follow


But what you might say is that youre looking for an upper bound on n for which this statement holds true?

In that case, run a fast fourier transform primality test on a supercomputer with this progession, and hope there exists an n which breaks this progression
graNite
Profile Blog Joined December 2010
Germany4434 Posts
April 21 2011 23:33 GMT
#19
omg i just screamed when i saw you on my thread, becuase i saw your math vid on youtube

pls solve this one !! :D
"Oink oink, bitches" - Tasteless on Pigbaby winning a map against Flash
Rtran10
Profile Joined February 2011
Canada78 Posts
April 21 2011 23:35 GMT
#20
2^8 = 256. (2^8)-1 = 255. 255 is not prime. Am i doing this right?
graNite
Profile Blog Joined December 2010
Germany4434 Posts
April 21 2011 23:39 GMT
#21
8 is not part of this progression.
"Oink oink, bitches" - Tasteless on Pigbaby winning a map against Flash
cgrinker
Profile Blog Joined December 2007
United States3824 Posts
April 21 2011 23:40 GMT
#22
Not that such a sequence exists yet but

You would want to use an inductive proof to show that the next element in the sequence satisfied your constraint.

which it doesn't.
rkffhk
Profile Blog Joined November 2010
474 Posts
April 21 2011 23:40 GMT
#23
Aren't those Mersenne primes?
"Did not realize gold was such an important threshold for people, I guess I honestly take it for granted that if people practice / invest enough time into this game then they would make diamond in no time." ~Caihead
Marradron
Profile Blog Joined January 2009
Netherlands1586 Posts
April 21 2011 23:41 GMT
#24
On April 22 2011 08:35 Rtran10 wrote:
2^8 = 256. (2^8)-1 = 255. 255 is not prime. Am i doing this right?

No, the start point is given.
Djzapz
Profile Blog Joined August 2009
Canada10681 Posts
April 21 2011 23:42 GMT
#25
You guys have me running Prime95 again
"My incompetence with power tools had been increasing exponentially over the course of 20 years spent inhaling experimental oven cleaners"
Mailing
Profile Joined March 2011
United States3087 Posts
April 21 2011 23:44 GMT
#26
I miss when I still found enjoyment in math...

Grade 1-8? Easiest thing in the world.

Algebra 1, 2, and pre calc? Ok, this is a little challening, but very easy once you finally get it.

Calculus and AP calculus? urrgghh

College advanced math? Screw that, I am majoring in biology.
Are you hurting ESPORTS? Find out today - http://www.teamliquid.net/blogs/viewblog.php?topic_id=232866
SonuvBob
Profile Blog Joined October 2006
Aiur21549 Posts
Last Edited: 2011-04-22 00:58:14
April 21 2011 23:45 GMT
#27
TL is not here to do your homework for you.

edit: reopened. apparently this is an unsolved problem, so even if it is his homework, no one can do it for him. :p
Administrator
Antisocialmunky
Profile Blog Joined March 2010
United States5912 Posts
April 22 2011 03:43 GMT
#28
On April 22 2011 08:45 SonuvBob wrote:
TL is not here to do your homework for you.

edit: reopened. apparently this is an unsolved problem, so even if it is his homework, no one can do it for him. :p


The OP needs to rephrase his question so its not so easy to misread. I had to read it like 5 times.
[゚n゚] SSSSssssssSSsss ¯\_(ツ)_/¯
Marine/Raven Guide:http://www.teamliquid.net/forum/viewmessage.php?topic_id=163605
micronesia
Profile Blog Joined July 2006
United States24667 Posts
April 22 2011 03:50 GMT
#29
Haha my initial insticts were right! I was gonna leave this open then when I saw SoB close it I was like "hmmmm it DOES sound like a hw thread" but... GOOD LUCK. Whoever solves it gets my <3
ModeratorThere are animal crackers for people and there are people crackers for animals.
Oracle
Profile Blog Joined May 2007
Canada411 Posts
Last Edited: 2011-04-23 02:11:04
April 23 2011 02:06 GMT
#30
On April 22 2011 12:50 micronesia wrote:
Haha my initial insticts were right! I was gonna leave this open then when I saw SoB close it I was like "hmmmm it DOES sound like a hw thread" but... GOOD LUCK. Whoever solves it gets my <3

I doubt anyone here has a Ph D in number theory, and even then, you'd break the world if this problem was solved.



On April 22 2011 12:43 Antisocialmunky wrote:
Show nested quote +
On April 22 2011 08:45 SonuvBob wrote:
TL is not here to do your homework for you.

edit: reopened. apparently this is an unsolved problem, so even if it is his homework, no one can do it for him. :p


The OP needs to rephrase his question so its not so easy to misread. I had to read it like 5 times.


Lol there's absolutely no ambiguity in this question, you're clearly trying to backpeddle this post.
zJayy962
Profile Blog Joined April 2010
1363 Posts
May 14 2011 22:08 GMT
#31
On the subject of unsolved problems. (e^i*pi) + 1 = 0 <--- blew my mind when I first saw it. Mathematics is amazing.
D4L[invd]
Profile Blog Joined May 2009
Canada110 Posts
May 14 2011 22:13 GMT
#32
^ Actually, (e^(i*pi)) + 1 = 0 isn't even a problem, it's Euler's formula. Euler's Formula on wiki.
you learn the proof in first year calc.
Your average D Protoss that can't get out of D because it is full of Protoss and my PvP sucks.
blah_blah
Profile Joined April 2011
346 Posts
May 14 2011 22:53 GMT
#33
It's fairly easy to make plausible conjectures in number theory that are hopelessly beyond the reach of modern techniques, but there's nothing especially interesting about doing so. 2^{2^{127}-1}-1 is much, much bigger than the largest known prime; its primality may never be known within our lifetimes.
Samhax
Profile Joined August 2010
1054 Posts
Last Edited: 2011-05-14 23:42:35
May 14 2011 23:00 GMT
#34
If you solve a problem like this, i can guarantee you gonna have a fields medal. All this kind of problems "does this sequence have an infinite amount of prime number" are extremely difficult to solve and there are some massive research on many of them.

I think the op was trolling though.

Edit : If the question is, does this sequence give only prime number then it's pretty much sure that the answer is no, and the easiest way to prove is to find the first non prime number.

If the question is, does this sequence can give an infinite amount of prime number but not necessary all of them, then read what i wrote previously.
VIB
Profile Blog Joined November 2007
Brazil3567 Posts
May 14 2011 23:11 GMT
#35
On April 22 2011 07:48 graNite wrote:
[image loading] with [image loading]

it produces:

2
3
7
127
...

how can i prove that every number coming of this progression is prime?
if that's not possible, how can i disprove it?
That one is easy. All that problem is saying is that a number X, if multiplied by itself a prime number of times minus 1 (itself) will always be a prime number.

It's obviously this will only be true if X = 48÷2(9+3)

Since 48÷2(9+3)=2 then all the output of that sequence are prime numbers.

Next?
Great people talk about ideas. Average people talk about things. Small people talk about other people.
Samhax
Profile Joined August 2010
1054 Posts
May 14 2011 23:15 GMT
#36
On May 15 2011 08:11 VIB wrote:
Show nested quote +
On April 22 2011 07:48 graNite wrote:
[image loading] with [image loading]

it produces:

2
3
7
127
...

how can i prove that every number coming of this progression is prime?
if that's not possible, how can i disprove it?
That one is easy. All that problem is saying is that a number X, if multiplied by itself a prime number of times minus 1 (itself) will always be a prime number.

It's obviously this will only be true if X = 48÷2(9+3)

Since 48÷2(9+3)=2 then all the output of that sequence are prime numbers.

Next?


Man what are you smoking? If you can find a sequence with only prime numbers it's fucking huge! I don't think you realise what you are saying...
turdburgler
Profile Blog Joined January 2011
England6749 Posts
May 14 2011 23:18 GMT
#37
On April 22 2011 08:40 cgrinker wrote:
Not that such a sequence exists yet but

You would want to use an inductive proof to show that the next element in the sequence satisfied your constraint.

which it doesn't.


worth just requoting this since the thread seems to be full of people with no mathmatical teaching and are just trying to count every prime out
mcc
Profile Joined October 2010
Czech Republic4646 Posts
May 14 2011 23:20 GMT
#38
On May 15 2011 08:15 Samhax wrote:
Show nested quote +
On May 15 2011 08:11 VIB wrote:
On April 22 2011 07:48 graNite wrote:
[image loading] with [image loading]

it produces:

2
3
7
127
...

how can i prove that every number coming of this progression is prime?
if that's not possible, how can i disprove it?
That one is easy. All that problem is saying is that a number X, if multiplied by itself a prime number of times minus 1 (itself) will always be a prime number.

It's obviously this will only be true if X = 48÷2(9+3)

Since 48÷2(9+3)=2 then all the output of that sequence are prime numbers.

Next?


Man what are you smoking? If you can find a sequence with only prime numbers it's fucking huge! I don't think you realise what you are saying...

I suppose he is trolling using the formula from the infamous "math" thread about notations.
Samhax
Profile Joined August 2010
1054 Posts
May 14 2011 23:25 GMT
#39
On May 15 2011 08:20 mcc wrote:
Show nested quote +
On May 15 2011 08:15 Samhax wrote:
On May 15 2011 08:11 VIB wrote:
On April 22 2011 07:48 graNite wrote:
[image loading] with [image loading]

it produces:

2
3
7
127
...

how can i prove that every number coming of this progression is prime?
if that's not possible, how can i disprove it?
That one is easy. All that problem is saying is that a number X, if multiplied by itself a prime number of times minus 1 (itself) will always be a prime number.

It's obviously this will only be true if X = 48÷2(9+3)

Since 48÷2(9+3)=2 then all the output of that sequence are prime numbers.

Next?


Man what are you smoking? If you can find a sequence with only prime numbers it's fucking huge! I don't think you realise what you are saying...

I suppose he is trolling using the formula from the infamous "math" thread about notations.


lol ok, i got trolled :p
Cyber_Cheese
Profile Blog Joined July 2010
Australia3615 Posts
Last Edited: 2011-05-14 23:29:17
May 14 2011 23:28 GMT
#40
it probably is homework, but it's an interesting question nonetheless
past a5, computers can't store the number using standard datatypes
if you have any programming experience, perhaps you could create a program to work it out and use some sort of overflow, but that would be a beast to test, not to mention having to factor it
realistically thats as far as your going to get in the progression, and should base your theories off that
proving it's another matter
The moment you lose confidence in yourself, is the moment the world loses it's confidence in you.
Brethern
Profile Joined February 2011
231 Posts
May 14 2011 23:42 GMT
#41
Dammit. I learned something. But since the equation is posted care to explain how it works exactly?

I'm a lowly high school grade so I don't know things.
dUTtrOACh
Profile Joined December 2010
Canada2339 Posts
Last Edited: 2011-05-14 23:46:34
May 14 2011 23:44 GMT
#42
The only way to test if it produces only prime numbers is to run divisibility tests on the answers for each case. You could write a program which can store the ridiculously large integers produced. Each will need to be tested for divisibility using modulus. Probably fairly time consuming. And when do you stop testing it? You're basically hoping it fails.
twitch.tv/duttroach
Samhax
Profile Joined August 2010
1054 Posts
May 14 2011 23:46 GMT
#43
On May 15 2011 08:44 dUTtrOACh wrote:
The only way to test if it produces only prime numbers is to run divisibility tests on the answers for each case. You could write a program which can store the ridiculously large integers produced. Each will need to be tested for divisibility using modulus. Probably fairly time consuming. And when do you stop testing it?


I dont think the op has the computer to do it, but i'm pretty the answer is no but you need a super computer to prove it or if he is lucky the first non prime number is not that big.
dUTtrOACh
Profile Joined December 2010
Canada2339 Posts
May 14 2011 23:48 GMT
#44
On May 15 2011 08:46 Samhax wrote:
Show nested quote +
On May 15 2011 08:44 dUTtrOACh wrote:
The only way to test if it produces only prime numbers is to run divisibility tests on the answers for each case. You could write a program which can store the ridiculously large integers produced. Each will need to be tested for divisibility using modulus. Probably fairly time consuming. And when do you stop testing it?


I dont think the op has the computer to do it, but i'm pretty the answer is no but you need a super computer to prove it or if he is lucky the first non prime number is not that big.


That's basically my point.
twitch.tv/duttroach
VIB
Profile Blog Joined November 2007
Brazil3567 Posts
May 14 2011 23:52 GMT
#45
On May 15 2011 08:44 dUTtrOACh wrote:
The only way to test if it produces only prime numbers is to run divisibility tests on the answers for each case.
You do realize "each case" is infinite right? If anyone ever solves this problem, it's not gonna be by making a computer bigger than infinite
Great people talk about ideas. Average people talk about things. Small people talk about other people.
Samhax
Profile Joined August 2010
1054 Posts
May 14 2011 23:57 GMT
#46
On May 15 2011 08:52 VIB wrote:
Show nested quote +
On May 15 2011 08:44 dUTtrOACh wrote:
The only way to test if it produces only prime numbers is to run divisibility tests on the answers for each case.
You do realize "each case" is infinite right? If anyone ever solves this problem, it's not gonna be by making a computer bigger than infinite


Maybe 2^127 -1 is not prime, if the op is lucky. But if 2^127 -1 is prime then you need for sure a super computer to prove it.
ZerGuy
Profile Joined June 2008
Poland204 Posts
May 14 2011 23:58 GMT
#47
I just proved that
If a_n is the lowest non prime number in sequence A, then it's smallest dividor is larger that a_(n-1).

That should save you the bothering with checking if A_6 is divisible by a small normal number
Someday ill be pro
mcc
Profile Joined October 2010
Czech Republic4646 Posts
May 14 2011 23:59 GMT
#48
On May 15 2011 08:48 dUTtrOACh wrote:
Show nested quote +
On May 15 2011 08:46 Samhax wrote:
On May 15 2011 08:44 dUTtrOACh wrote:
The only way to test if it produces only prime numbers is to run divisibility tests on the answers for each case. You could write a program which can store the ridiculously large integers produced. Each will need to be tested for divisibility using modulus. Probably fairly time consuming. And when do you stop testing it?


I dont think the op has the computer to do it, but i'm pretty the answer is no but you need a super computer to prove it or if he is lucky the first non prime number is not that big.


That's basically my point.

There are other ways to prove things in math than to test every case, which in case of infinite sets is problematic
Kong John
Profile Blog Joined March 2008
Denmark1020 Posts
May 15 2011 00:01 GMT
#49
I feel so hopelessly stupid when i read these math threads
This is real life, where nerds must battle!
space_yes
Profile Joined April 2010
United States548 Posts
Last Edited: 2011-05-15 00:04:43
May 15 2011 00:01 GMT
#50
From the wikipedia entry on Mersenne primes...



[...]

In mathematics, a Mersenne number, named after Marin Mersenne (a French monk who began the study of these numbers in the early 17th century), is a positive integer that is one less than a power of two:

M_p=2^p-1

Some definitions of Mersenne numbers require that the exponent p be prime, since the associated number must be composite if p is.

A Mersenne prime is a Mersenne number that is prime. It is known[2] that if 2p − 1 is prime then p is prime, so it makes no difference which Mersenne number definition is used. As of October 2009, 47 Mersenne primes are known. The largest known prime number (243,112,609 − 1) is a Mersenne prime.[3] Since 1997, all newly-found Mersenne primes have been discovered by the "Great Internet Mersenne Prime Search" (GIMPS), a distributed computing project on the Internet.

[...]

Many fundamental questions about Mersenne primes remain unresolved. It is not even known whether the set of Mersenne primes is finite. The Lenstra–Pomerance–Wagstaff conjecture asserts that, on the contrary, there are infinitely many Mersenne primes and predicts their order of growth. It is also not known whether infinitely many Mersenne numbers with prime exponents are composite, although this would follow from widely believed conjectures about prime numbers, for example, the infinitude of Sophie Germain primes congruent to 3 (mod 4).

A basic theorem about Mersenne numbers states that in order for Mp to be a Mersenne prime, the exponent p itself must be a prime number. This rules out primality for numbers such as M4 = 24 − 1 = 15: since the exponent 4 = 2×2 is composite, the theorem predicts that 15 is also composite; indeed, 15 = 3×5. The three smallest Mersenne primes are

M2 = 3, M3 = 7, M5 = 31.

While it is true that only Mersenne numbers Mp, where p = 2, 3, 5, … could be prime, often Mp is not prime even for a prime exponent p. The smallest counterexample is the Mersenne number

M11 = 211 − 1 = 2047 = 23 × 89,

which is not prime, even though 11 is a prime number. The lack of an obvious rule to determine whether a given Mersenne number is prime makes the search for Mersenne primes an interesting task, which becomes difficult very quickly, since Mersenne numbers grow very rapidly. The Lucas–Lehmer primality test (LLT) is an efficient primality test that greatly aids this task. The search for the largest known prime has somewhat of a cult following. Consequently, a lot of computer power has been expended searching for new Mersenne primes, much of which is now done using distributed computing.

Manit0u
Profile Blog Joined August 2004
Poland17243 Posts
Last Edited: 2011-05-15 00:04:22
May 15 2011 00:02 GMT
#51
Well, in logic that would be a tautology check.

Example:
(that's conjunction and implication if you don't get the notation used)

p ^ q -> p

Now, we asume that -> is false (0), and for it to be false the left hand side of it must be true (p ^ q) while the right hand side (p) must be false (you can't get false results from true things while you can get anything you want from false things).

Then we get:

0 ^ q -> 0

Now we get to the problem, since no matter what we put in stead of q, our implication is going to be true (1), since in no way conjunction can be true if one of its elements is false, thus proving our original statement ( p ^ q -> p) to be a tautology, since it can never produce false results.

Now all you need to do is create such test for your stuff.
Time is precious. Waste it wisely.
Samhax
Profile Joined August 2010
1054 Posts
Last Edited: 2011-05-15 00:05:00
May 15 2011 00:03 GMT
#52
Wikipedia give the larger Mersenne prime number 2^43 112 609 -1 discovered and 2^(2^127-1) -1 is bigger. So there is no way to prove it even with a super computer.

Close the post :p
Mithrandir
Profile Joined March 2011
United States99 Posts
Last Edited: 2011-05-15 00:10:59
May 15 2011 00:08 GMT
#53
This is an unsolved problem.

These are Catalan-Mersenne Prime Numbers.

http://en.wikipedia.org/wiki/Double_Mersenne_number#Catalan-Mersenne_number

To the OP, please don't post unsolved problems and waste peoples' time.
ZerGuy
Profile Joined June 2008
Poland204 Posts
Last Edited: 2011-05-15 00:12:39
May 15 2011 00:08 GMT
#54
On May 15 2011 09:03 Samhax wrote:
Wikipedia give the larger Mersenne prime number 2^43 112 609 -1 discovered and 2^(2^127-1) -1 is bigger. So there is no way to prove it even with a super computer.

Close the post :p


Actually it's perfectly possible that this particular number can be proved as composed. It's just not known to be prime.



On May 15 2011 09:08 Mithrandir wrote:
This is an unsolved problem.

These are Catalan-Mersenne Prime Numbers.

http://en.wikipedia.org/wiki/Double_Mersenne_number#Catalan-Mersenne_number

To the OP, please don't post unsolved problems and waste peoples' time.



Was OP just a troll? So rude.
Someday ill be pro
Sufficiency
Profile Blog Joined October 2010
Canada23833 Posts
May 15 2011 00:12 GMT
#55
I seriously doubt you have given a formula that always produces prime number.

Thus, I suggest you should compute a few iterations and check if they are primes.
https://twitter.com/SufficientStats
Samhax
Profile Joined August 2010
1054 Posts
Last Edited: 2011-05-15 00:15:19
May 15 2011 00:14 GMT
#56
On May 15 2011 09:08 ZerGuy wrote:
Show nested quote +
On May 15 2011 09:03 Samhax wrote:
Wikipedia give the larger Mersenne prime number 2^43 112 609 -1 discovered and 2^(2^127-1) -1 is bigger. So there is no way to prove it even with a super computer.

Close the post :p


Actually it's perfectly possible that this particular number can be proved as composed. It's just not known to be prime.


I don't think so, because it's very hard top prove that a Mersenne number (2^p-1) is not prime when p is prime so if 2^127 -1 is prime, it's wil be tough.

I'm not saying it's impossible but he will be really hard.
Mithrandir
Profile Joined March 2011
United States99 Posts
May 15 2011 00:15 GMT
#57
On May 15 2011 09:12 Sufficiency wrote:
I seriously doubt you have given a formula that always produces prime number.

Thus, I suggest you should compute a few iterations and check if they are primes.


The only iterations easily checkable have been checked, and they are prime.

Like I said, nobody knows if this sequence (Catalan-Mersenne primes) always produces primes. Hell, this sequence is a subset of Mersenne Primes and nobody even knows if there are an infinite number of Mersenne Primes.
Mithrandir
Profile Joined March 2011
United States99 Posts
May 15 2011 00:17 GMT
#58
On May 15 2011 09:08 ZerGuy wrote:

Was OP just a troll? So rude.


Probably a troll. By the time you discuss questions this hard, you know whether they're even solved. I have a hard time believing some high schooler/undergrad found this problem scribbled in their math textbook and wanted to know the solution. Solving this problem would be a huge achievement for a professional mathematician.
aoeua
Profile Joined February 2007
United Kingdom75 Posts
May 15 2011 00:20 GMT
#59
I have discovered a truly marvellous solution for this problem. Unfortunately, the post width here is too narrow to contain it.
Samhax
Profile Joined August 2010
1054 Posts
Last Edited: 2011-05-15 00:22:12
May 15 2011 00:21 GMT
#60
On May 15 2011 09:20 aoeua wrote:
I have discovered a truly marvellous solution for this problem. Unfortunately, the post width here is too narrow to contain it.


Haha Fermat quote, but Andrew Wiles did it!
Mithrandir
Profile Joined March 2011
United States99 Posts
May 15 2011 00:24 GMT
#61
On May 15 2011 09:21 Samhax wrote:
Show nested quote +
On May 15 2011 09:20 aoeua wrote:
I have discovered a truly marvellous solution for this problem. Unfortunately, the post width here is too narrow to contain it.


Haha Fermat quote, but Andrew Wiles did it!



Hahaha at the reference.

And yes Andrew Wiles did it, using more than the margin . Also using math that wasn't invented until many, many years later.

To a Mod: Now that this problem is known to be unsolved, can this thread be closed?
blah_blah
Profile Joined April 2011
346 Posts
May 15 2011 01:32 GMT
#62
On May 15 2011 08:57 Samhax wrote:
Show nested quote +
On May 15 2011 08:52 VIB wrote:
On May 15 2011 08:44 dUTtrOACh wrote:
The only way to test if it produces only prime numbers is to run divisibility tests on the answers for each case.
You do realize "each case" is infinite right? If anyone ever solves this problem, it's not gonna be by making a computer bigger than infinite


Maybe 2^127 -1 is not prime, if the op is lucky. But if 2^127 -1 is prime then you need for sure a super computer to prove it.


2^{127}-1 is prime.
Samhax
Profile Joined August 2010
1054 Posts
Last Edited: 2011-05-15 02:00:50
May 15 2011 02:00 GMT
#63
On May 15 2011 10:32 blah_blah wrote:
Show nested quote +
On May 15 2011 08:57 Samhax wrote:
On May 15 2011 08:52 VIB wrote:
On May 15 2011 08:44 dUTtrOACh wrote:
The only way to test if it produces only prime numbers is to run divisibility tests on the answers for each case.
You do realize "each case" is infinite right? If anyone ever solves this problem, it's not gonna be by making a computer bigger than infinite


Maybe 2^127 -1 is not prime, if the op is lucky. But if 2^127 -1 is prime then you need for sure a super computer to prove it.


2^{127}-1 is prime.


that's unfortunate for the OP :p
n.DieJokes
Profile Blog Joined November 2008
United States3443 Posts
May 15 2011 02:18 GMT
#64
If you could prove every number was a prime you be in line for hundreds of thousands of dollars
MyLove + Your Love= Supa Love
Wonders
Profile Blog Joined September 2006
Australia753 Posts
May 15 2011 02:26 GMT
#65
On May 15 2011 08:57 Samhax wrote:
Maybe 2^127 -1 is not prime, if the op is lucky. But if 2^127 -1 is prime then you need for sure a super computer to prove it.


This number was known to be prime in 1876, when they didn't have supercomputers. Even then there were much better techniques for testing primality than exhaustively checking divisibility.
Samhax
Profile Joined August 2010
1054 Posts
Last Edited: 2011-05-15 02:51:17
May 15 2011 02:41 GMT
#66
On May 15 2011 11:26 Wonders wrote:
Show nested quote +
On May 15 2011 08:57 Samhax wrote:
Maybe 2^127 -1 is not prime, if the op is lucky. But if 2^127 -1 is prime then you need for sure a super computer to prove it.


This number was known to be prime in 1876, when they didn't have supercomputers. Even then there were much better techniques for testing primality than exhaustively checking divisibility.


I didn't say for 2^127 -1 you need a super computer, this number is "relatively" small (~10^38). But for 2^(2^127-1) -1, show me how you can do it whitout a super computer, knowing that 2^127 -1 is prime. I really want to see that.

edit : when i talked about super computer, i was talking about the next iterations.
UniversalSnip
Profile Blog Joined July 2010
9871 Posts
Last Edited: 2011-05-15 02:54:31
May 15 2011 02:51 GMT
#67
On May 15 2011 09:20 aoeua wrote:
I have discovered a truly marvellous solution for this problem. Unfortunately, the post width here is too narrow to contain it.


I've always wondered if fermat was just a huge troll or if he actually thought he had the proof - although of course he could not have.
"How fucking dare you defile the sanctity of DotA with your fucking casual plebian terminology? May the curse of Gaben and Volvo be upon you. le filthy casual."
NB
Profile Blog Joined February 2010
Netherlands12045 Posts
May 15 2011 02:51 GMT
#68
one of the rule of TL is do not ask homework here!

about the math problem, use induction (basic 1st year math)
Im daed. Follow me @TL_NB
Mithrandir
Profile Joined March 2011
United States99 Posts
May 15 2011 02:54 GMT
#69
On May 15 2011 11:51 NB wrote:
one of the rule of TL is do not ask homework here!

about the math problem, use induction (basic 1st year math)


You are wrong. This problem is unsolved. He was trolling.
Mithrandir
Profile Joined March 2011
United States99 Posts
May 15 2011 02:55 GMT
#70
On May 15 2011 11:41 Samhax wrote:
Show nested quote +
On May 15 2011 11:26 Wonders wrote:
On May 15 2011 08:57 Samhax wrote:
Maybe 2^127 -1 is not prime, if the op is lucky. But if 2^127 -1 is prime then you need for sure a super computer to prove it.


This number was known to be prime in 1876, when they didn't have supercomputers. Even then there were much better techniques for testing primality than exhaustively checking divisibility.


I didn't say for 2^127 -1 you need a super computer, this number is "relatively" small (~10^38). But for 2^(2^127-1) -1, show me how you can do it whitout a super computer, knowing that 2^127 -1 is prime. I really want to see that.

edit : when i talked about super computer, i was talking about the next iterations.


2^(2^127-1)-1 cannot be done even with today's super computers, although people have checked all possible factors up to 10^50 without success.
Samhax
Profile Joined August 2010
1054 Posts
May 15 2011 03:00 GMT
#71
On May 15 2011 11:55 Mithrandir wrote:
Show nested quote +
On May 15 2011 11:41 Samhax wrote:
On May 15 2011 11:26 Wonders wrote:
On May 15 2011 08:57 Samhax wrote:
Maybe 2^127 -1 is not prime, if the op is lucky. But if 2^127 -1 is prime then you need for sure a super computer to prove it.


This number was known to be prime in 1876, when they didn't have supercomputers. Even then there were much better techniques for testing primality than exhaustively checking divisibility.


I didn't say for 2^127 -1 you need a super computer, this number is "relatively" small (~10^38). But for 2^(2^127-1) -1, show me how you can do it whitout a super computer, knowing that 2^127 -1 is prime. I really want to see that.

edit : when i talked about super computer, i was talking about the next iterations.


2^(2^127-1)-1 cannot be done even with today's super computers, although people have checked all possible factors up to 10^50 without success.


Yeah i know, but knowing the size of the number it's impossible to test it without computers. It's my point.
arbiter_md
Profile Joined February 2008
Moldova1219 Posts
May 15 2011 03:07 GMT
#72
On May 15 2011 12:00 Samhax wrote:
Show nested quote +
On May 15 2011 11:55 Mithrandir wrote:
On May 15 2011 11:41 Samhax wrote:
On May 15 2011 11:26 Wonders wrote:
On May 15 2011 08:57 Samhax wrote:
Maybe 2^127 -1 is not prime, if the op is lucky. But if 2^127 -1 is prime then you need for sure a super computer to prove it.


This number was known to be prime in 1876, when they didn't have supercomputers. Even then there were much better techniques for testing primality than exhaustively checking divisibility.


I didn't say for 2^127 -1 you need a super computer, this number is "relatively" small (~10^38). But for 2^(2^127-1) -1, show me how you can do it whitout a super computer, knowing that 2^127 -1 is prime. I really want to see that.

edit : when i talked about super computer, i was talking about the next iterations.


2^(2^127-1)-1 cannot be done even with today's super computers, although people have checked all possible factors up to 10^50 without success.


Yeah i know, but knowing the size of the number it's impossible to test it without computers. It's my point.

If you'd put all the computers in the world to work on this problem for the next 10 billion years, you wouldn't yet know if that number is really prime. Assuming it is prime.

That's how big that number is. Math has many simple ways to tell the people that some questions will never get responses.
The copyright of this post belongs solely to me. Nobody else, not teamliquid, not greetech and not even blizzard have any share of this copyright. You can copy, distribute, use in commercial purposes the content of this post or parts of it freely.
Samhax
Profile Joined August 2010
1054 Posts
May 15 2011 03:12 GMT
#73
On May 15 2011 12:07 arbiter_md wrote:
Show nested quote +
On May 15 2011 12:00 Samhax wrote:
On May 15 2011 11:55 Mithrandir wrote:
On May 15 2011 11:41 Samhax wrote:
On May 15 2011 11:26 Wonders wrote:
On May 15 2011 08:57 Samhax wrote:
Maybe 2^127 -1 is not prime, if the op is lucky. But if 2^127 -1 is prime then you need for sure a super computer to prove it.


This number was known to be prime in 1876, when they didn't have supercomputers. Even then there were much better techniques for testing primality than exhaustively checking divisibility.


I didn't say for 2^127 -1 you need a super computer, this number is "relatively" small (~10^38). But for 2^(2^127-1) -1, show me how you can do it whitout a super computer, knowing that 2^127 -1 is prime. I really want to see that.

edit : when i talked about super computer, i was talking about the next iterations.


2^(2^127-1)-1 cannot be done even with today's super computers, although people have checked all possible factors up to 10^50 without success.


Yeah i know, but knowing the size of the number it's impossible to test it without computers. It's my point.

If you'd put all the computers in the world to work on this problem for the next 10 billion years, you wouldn't yet know if that number is really prime. Assuming it is prime.

That's how big that number is. Math has many simple ways to tell the people that some questions will never get responses.


hum not sure about that, do you know Quantum computer (search it on wikipedia if not). Maybe one day, it will be possible, who knows.
Manit0u
Profile Blog Joined August 2004
Poland17243 Posts
May 15 2011 09:08 GMT
#74
On a sidenote: I've noticed an increasing amount of posts starting with 'hi TL' or something like that. It seems similar to 'sub /b/' or whatever.
Anyway, my point is, why the hell would you use 'hi TL' on a TL? Just 'Hi!' would be enough in my opinion. There's no need for redundant stuff, especially one that shares some similarities with 4chan...
Time is precious. Waste it wisely.
oBlade
Profile Blog Joined December 2008
United States5527 Posts
May 15 2011 11:14 GMT
#75
On May 15 2011 18:08 Manit0u wrote:
On a sidenote: I've noticed an increasing amount of posts starting with 'hi TL' or something like that. It seems similar to 'sub /b/' or whatever.
Anyway, my point is, why the hell would you use 'hi TL' on a TL? Just 'Hi!' would be enough in my opinion. There's no need for redundant stuff, especially one that shares some similarities with 4chan...

Similarly, 4chan.org and teamliquid.net both have advertisements. I don't think teamliquid.net should have advertisements because 4chan.org has them. Also, 4chan.org has moderators, so I think the banlings should surrender their powers. 4chan is a website, so I think teamliquid should become a restaurant.

Seriously. All he did was greet us, it's not the least bit rude.
"I read it. You know how to read, you ignorant fuck?" - Andy Dufresne
mcc
Profile Joined October 2010
Czech Republic4646 Posts
Last Edited: 2011-05-15 11:34:28
May 15 2011 11:33 GMT
#76
On May 15 2011 12:07 arbiter_md wrote:
Show nested quote +
On May 15 2011 12:00 Samhax wrote:
On May 15 2011 11:55 Mithrandir wrote:
On May 15 2011 11:41 Samhax wrote:
On May 15 2011 11:26 Wonders wrote:
On May 15 2011 08:57 Samhax wrote:
Maybe 2^127 -1 is not prime, if the op is lucky. But if 2^127 -1 is prime then you need for sure a super computer to prove it.


This number was known to be prime in 1876, when they didn't have supercomputers. Even then there were much better techniques for testing primality than exhaustively checking divisibility.


I didn't say for 2^127 -1 you need a super computer, this number is "relatively" small (~10^38). But for 2^(2^127-1) -1, show me how you can do it whitout a super computer, knowing that 2^127 -1 is prime. I really want to see that.

edit : when i talked about super computer, i was talking about the next iterations.


2^(2^127-1)-1 cannot be done even with today's super computers, although people have checked all possible factors up to 10^50 without success.


Yeah i know, but knowing the size of the number it's impossible to test it without computers. It's my point.

If you'd put all the computers in the world to work on this problem for the next 10 billion years, you wouldn't yet know if that number is really prime. Assuming it is prime.

That's how big that number is. Math has many simple ways to tell the people that some questions will never get responses.

That assumes that checking divisibility is the only way to check this or even that our current methods for checking primality are the only ones. I agree that we won't find a solution to OP, but that does not mean that propositions here are the only way to get there.

EDIT: by "we" I mean this thread/TL
Normal
Please log in or register to reply.
Live Events Refresh
Next event in 13h 15m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
JuggernautJason98
ProTech76
StarCraft: Brood War
firebathero 246
JulyZerg 138
Rock 38
LancerX 25
Dota 2
monkeys_forever288
LuMiX1
League of Legends
Grubby3300
Dendi1345
Heroes of the Storm
Liquid`Hasu437
Khaldor268
Other Games
FrodaN2264
summit1g1597
fl0m1141
Mlord670
RotterdaM506
KnowMe113
Sick62
Trikslyr55
Nathanias48
Organizations
Other Games
EGCTV1082
BasetradeTV30
StarCraft 2
angryscii 22
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 23 non-featured ]
StarCraft 2
• Berry_CruncH264
• StrangeGG 38
• davetesta29
• musti20045 24
• tFFMrPink 22
• Kozan
• Migwel
• sooper7s
• AfreecaTV YouTube
• intothetv
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• Pr0nogo 3
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• Ler117
League of Legends
• Doublelift3851
• Jankos2691
• masondota2552
Other Games
• imaqtpie1066
• WagamamaTV470
• Shiphtur289
Upcoming Events
RSL Revival
13h 15m
Clem vs Classic
SHIN vs Cure
FEL
15h 15m
WardiTV European League
15h 15m
BSL: ProLeague
21h 15m
Dewalt vs Bonyth
Replay Cast
2 days
Sparkling Tuna Cup
2 days
WardiTV European League
2 days
The PondCast
3 days
Replay Cast
4 days
RSL Revival
4 days
[ Show More ]
Replay Cast
5 days
RSL Revival
5 days
FEL
5 days
RSL Revival
6 days
FEL
6 days
FEL
6 days
Liquipedia Results

Completed

BSL 2v2 Season 3
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.