• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 15:34
CEST 21:34
KST 04:34
  • 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
Team Liquid Map Contest #22: Results and Winners7Code S Season 2 (2026): RO4 and Finals Preview12TL.net Map Contest #22 - Voting & Ladder Map Selection7Code S Season 2 (2026) - RO8 Preview8[ASL21] Finals Preview: Two Legacies21
Community News
ZeroSpace at Steam NextFest - Last free demo15Weekly Cups (June 8-14): Clem and Solar double, PTR tested0RSL: S6 Finals played at BlizzCon 202611Douyu Cup 2026: $20,000 Legends Event (June 26-28)10[BSL22] Non-Korean Championship from 13 to 28 June4
StarCraft 2
General
StarCraft II 5.0.16 PTR Patch Notes may 26th Daily SC2 Player Grid - feedback wanted J188 – Nhà Cái Cá Cược Trực Tuyến Đẳng Cấp Châu Á Code S Season 2 (2026) - RO8 Preview TL Poll: How do you feel about the 5.0.16 PTR balance changes?
Tourneys
GSL CK #4 20-21th June Sparkling Tuna Cup - Weekly Open Tournament Master Swan Open (Global Bronze-Master 2) Crank Gathers Season 4: BW vs SC2 Team League Douyu Cup 2026: $20,000 Legends Event (June 26-28)
Strategy
[G] Having the right mentality to improve
Custom Maps
Work In Progress Melee Maps [D]RTS in all its shapes and glory <3
External Content
Mutation # 530 One For All The PondCast: SC2 News & Results Mutation # 529 Opportunities Unleashed Mutation # 528 Infection Detected
Brood War
General
Battle cruiser feet vs Carrier fleet BGH Auto Balance -> http://bghmmr.eu/ Fact based Zerg Upgrade Tier List vespene.gg — BW replays in browser Data needed
Tourneys
[Megathread] Daily Proleagues CSLAN 4 is Coming! Small VOD Thread 2.0 The Casual Games of the Week Thread
Strategy
Simple Questions, Simple Answers Relatively freeroll strategies Creating a full chart of Zerg builds Why doesn't anyone use restoration?
Other Games
General Games
ZeroSpace at Steam NextFest - Last free demo Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread ZeroSpace Megathread
Dota 2
Looking for a Dota Mentor Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
Vanilla Mini Mafia {D-2} Late to making 20.06.2026 memorable [p]94718
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread [H]Internet/Gaming Cafe Tips and Tricks The Games Industry And ATVI UK Politics Mega-thread
Fan Clubs
The HerO Fan Club! The herO Fan Club!
Media & Entertainment
Movie Discussion! [Req][Books] Good Fantasy/SciFi books [TV/BOOK] *SPOILERS* Game of Thrones Discussion
Sports
2024 - 2026 Football Thread McBoner: A hockey love story TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion Cricket [SPORT]
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Facing Challenges in Mobile App Development
TL Community
The Automated Ban List
Blogs
How To Predict Tilt in Espor…
TrAiDoS
An Exploration of th…
waywardstrategy
I'm an arrogant trash talke…
FlaShFTW
Gauntlet SC2: A Retrospectiv…
Ctone23
Why RTS gamers make better f…
gosubay
Customize Sidebar...

Website Feedback

Closed Threads



Active: 8703 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
Poland17770 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
BSL22 NKC (BSL vs China)
19:00
Group Stage - Day 3
XuanXuan vs Jaystar
Mihu vs Messiah
eOnzErG vs Dewalt
Bonyth vs Jaystar
TerrOr vs Messiah
XuanXuan vs Mihu
eOnzErG vs Jaystar
ZZZero.O162
LiquipediaDiscussion
IPSL
16:00
Ro8 M3
Bonyth vs Dewalt
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ByuN 713
BRAT_OK 89
Ketroc 34
MindelVK 30
Nathanias 21
StarCraft: Brood War
Britney 15987
ggaemo 250
firebathero 144
ZZZero.O 137
Leta 107
Rock 18
Dota 2
qojqva1646
420jenkins328
League of Legends
Trikslyr70
Counter-Strike
fl0m10327
summit1g8325
tarik_tv8250
byalli612
Heroes of the Storm
Khaldor283
Other Games
Grubby3215
FrodaN1293
PiGStarcraft305
DeMusliM97
minikerr8
Organizations
Other Games
EGCTV1179
gamesdonequick1160
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 18 non-featured ]
StarCraft 2
• printf 64
• Hupsaiya 36
• musti20045 18
• IndyKCrew
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• Pr0nogo 5
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Nemesis2668
Counter-Strike
• C_a_k_e 2217
• Shiphtur166
Other Games
• imaqtpie716
Upcoming Events
Replay Cast
4h 26m
WardiTV Spring Champion…
15h 26m
GSL
16h 26m
IPSL
20h 26m
Hawk vs Julia
Patches Events
21h 26m
BSL22 NKC (BSL vs China)
23h 26m
Dewalt vs Messiah
Bonyth vs Mihu
TerrOr vs XuanXuan
eOnzErG vs Messiah
Jaystar vs Mihu
Dewalt vs XuanXuan
Bonyth vs TerrOr
Replay Cast
1d 4h
WardiTV Weekly
1d 15h
Monday Night Weeklies
1d 20h
Sparkling Tuna Cup
2 days
[ Show More ]
The PondCast
3 days
Douyu Cup 2020
4 days
Oliveira vs Trap
Jieshi vs XY
soO vs FanTaSy
TY vs Coffee
Douyu Cup 2020
5 days
Neeb vs Impact
MacSed vs Cyan
Scarlett vs Kelazhur
INnoVation vs Dear
Douyu Cup 2020
6 days
Maestros of the Game
6 days
herO vs Classic
Maru vs Serral
BSL22 NKC (BSL vs China)
6 days
Liquipedia Results

Completed

Proleague 2026-06-19
uThermal 2v2 2026 Main Event
Heroes Pulsing #2

Ongoing

IPSL Spring 2026
Acropolis #4
CSCL: Masked Kings S4
YSL S3
BSL 22 Non-Korean Championship
CSL Season 21: Qualifier 1
SCTL 2026 Spring
Maestros of the Game 2
WardiTV Spring 2026
Murky Cup 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026

Upcoming

CSL Season 21: Qualifier 2
CSL 2026 Summer (S21)
CSLAN 4
Blizzard Classic Cup 2026
Kung Fu Cup 2026 Grand Finals
RSL Revival: Season 6
CranK Gathers Season 4: BW vs SC2 Team League
HSC XXIX
Douyu Cup 2026
BCC 2026
Light HT
Heroes Pulsing #3
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026
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 © 2026 TLnet. All Rights Reserved.