• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 15:30
CET 20:30
KST 04:30
  • 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
[ASL20] Finals Preview: Arrival10TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9
Community News
Merivale 8 Open - LAN - Stellar Fest3Chinese SC2 server to reopen; live all-star event in Hangzhou22Weekly Cups (Oct 13-19): Clem Goes for Four3BSL Team A vs Koreans - Sat-Sun 16:00 CET10Weekly Cups (Oct 6-12): Four star herO8
StarCraft 2
General
RotterdaM "Serral is the GOAT, and it's not close" Could we add "Avoid Matchup" Feature for rankgame Chinese SC2 server to reopen; live all-star event in Hangzhou The New Patch Killed Mech! Weekly Cups (Oct 13-19): Clem Goes for Four
Tourneys
Crank Gathers Season 2: SC II Pro Teams Merivale 8 Open - LAN - Stellar Fest $5,000+ WardiTV 2025 Championship $3,500 WardiTV Korean Royale S4 Tenacious Turtle Tussle
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment
Brood War
General
ASL20 Pre-season Tier List ranking! [ASL20] Finals Preview: Arrival Is there anyway to get a private coach? BGH Auto Balance -> http://bghmmr.eu/ BSL Team A vs Koreans - Sat-Sun 16:00 CET
Tourneys
[ASL20] Grand Finals ASL final tickets help [ASL20] Semifinal A Small VOD Thread 2.0
Strategy
Simple Questions, Simple Answers Roaring Currents ASL final Soma's 9 hatch build from ASL Game 2 Relatively freeroll strategies
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile General RTS Discussion Thread Nintendo Switch Thread Dawn of War IV
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread The Chess Thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Korean Music Discussion Series you have seen recently... Movie Discussion!
Sports
Formula 1 Discussion 2024 - 2026 Football Thread MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
The Benefits Of Limited Comm…
TrAiDoS
Sabrina was soooo lame on S…
Peanutsc
Our Last Hope in th…
KrillinFromwales
Certified Crazy
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1542 users

[Math] Prime number progression?! - Page 3

Forum Index > General Forum
Post a Reply
Prev 1 2 3 4 Next All
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
Poland17398 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!
Prev 1 2 3 4 Next All
Please log in or register to reply.
Live Events Refresh
RSL Revival
17:00
2025 S3: Europe Qualifier
IndyStarCraft 320
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 503
IndyStarCraft 320
White-Ra 284
RotterdaM 67
DisKSc2 33
MindelVK 17
StarCraft: Brood War
Dewaltoss 151
NaDa 11
Dota 2
qojqva4316
Fuzer 274
canceldota215
monkeys_forever180
LuMiX1
Counter-Strike
fl0m1410
Stewie2K392
Super Smash Bros
Mew2King61
Heroes of the Storm
Liquid`Hasu695
Khaldor562
Other Games
Grubby2456
B2W.Neo1848
FrodaN719
Dendi615
mouzStarbuck218
Skadoodle178
ArmadaUGS145
capcasts94
Organizations
Other Games
gamesdonequick935
StarCraft 2
angryscii 37
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• 3DClanTV 75
• Airneanach50
• Azhi_Dahaki16
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• imaqtpie2959
• Nemesis2530
Upcoming Events
Wardi Open
16h 30m
CrankTV Team League
17h 30m
Streamerzone vs Shopify Rebellion
TBD vs Team Vitality
Monday Night Weeklies
21h 30m
Replay Cast
1d 14h
WardiTV Invitational
1d 16h
CrankTV Team League
1d 17h
BASILISK vs TBD
Team Liquid vs Team Falcon
Replay Cast
2 days
CrankTV Team League
2 days
Replay Cast
3 days
The PondCast
3 days
[ Show More ]
CrankTV Team League
3 days
Replay Cast
4 days
WardiTV Invitational
4 days
CrankTV Team League
4 days
Replay Cast
5 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
CSL 2025 AUTUMN (S18)
BSL 21 Team A
C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
CranK Gathers Season 2: SC II Pro Teams
Eternal Conflict S1
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025

Upcoming

SC4ALL: Brood War
YSL S2
BSL Season 21
BSL 21 Non-Korean Championship
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
META Madness #9
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
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.