• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 16:50
CEST 22:50
KST 05:50
  • 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 TLMC #5 - Finalists & Open Tournaments0[ASL20] Ro16 Preview Pt2: Turbulence10Classic Games #3: Rogue vs Serral at BlizzCon9[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12
Community News
BSL 2025 Warsaw LAN + Legends Showmatch0Weekly Cups (Sept 8-14): herO & MaxPax split cups4WardiTV TL Team Map Contest #5 Tournaments1SC4ALL $6,000 Open LAN in Philadelphia8Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues29
StarCraft 2
General
StarCraft II 5.0.15 PTR Patch Notes #1: Maru - Greatest Players of All Time Weekly Cups (Sept 8-14): herO & MaxPax split cups Team Liquid Map Contest #21 - Presented by Monster Energy SpeCial on The Tasteless Podcast
Tourneys
SC2's Safe House 2 - October 18 & 19 RSL: Revival, a new crowdfunded tournament series Maestros of The Game—$20k event w/ live finals in Paris Sparkling Tuna Cup - Weekly Open Tournament SC4ALL $6,000 Open LAN in Philadelphia
Strategy
Custom Maps
External Content
Mutation # 491 Night Drive Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around
Brood War
General
ASL20 General Discussion Soulkey on ASL S20 BW General Discussion ASL TICKET LIVE help! :D NaDa's Body
Tourneys
[ASL20] Ro16 Group C Small VOD Thread 2.0 [ASL20] Ro16 Group D [Megathread] Daily Proleagues
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread Borderlands 3 Path of Exile Nintendo Switch Thread General RTS Discussion Thread
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine UK Politics Mega-thread Canadian Politics Mega-thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
i'm really bored guys
Peanutsc
I <=> 9
KrillinFromwales
The Personality of a Spender…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1647 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
Poland17342 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
Next event in 13h 10m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 451
UpATreeSC 237
SteadfastSC 186
NeuroSwarm 151
IndyStarCraft 133
ForJumy 22
StarCraft: Brood War
Britney 16015
Dewaltoss 155
Shuttle 139
Larva 62
Aegong 31
Sexy 24
Dota 2
Fuzer 196
Counter-Strike
flusha286
Stewie2K163
Super Smash Bros
Mew2King58
Heroes of the Storm
Liquid`Hasu520
Other Games
summit1g4882
FrodaN1479
Sick1230
fl0m850
mouzStarbuck310
ToD212
C9.Mang0162
Trikslyr41
PPMD32
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• davetesta23
• Reevou 3
• Kozan
• sooper7s
• AfreecaTV YouTube
• Migwel
• LaughNgamezSOOP
• intothetv
• IndyKCrew
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 4988
League of Legends
• Doublelift4093
• TFBlade621
Other Games
• imaqtpie870
• WagamamaTV420
• Shiphtur273
Upcoming Events
RSL Revival
13h 10m
Zoun vs Classic
Map Test Tournament
14h 10m
Korean StarCraft League
1d 6h
BSL Open LAN 2025 - War…
1d 11h
RSL Revival
1d 13h
Reynor vs Cure
BSL Open LAN 2025 - War…
2 days
RSL Revival
2 days
Online Event
2 days
Wardi Open
3 days
Monday Night Weeklies
3 days
[ Show More ]
Sparkling Tuna Cup
4 days
LiuLi Cup
5 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2025-09-10
Chzzk MurlocKing SC1 vs SC2 Cup #2
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
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

Upcoming

2025 Chongqing Offline CUP
BSL World Championship of Poland 2025
IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
Stellar Fest
SC4ALL: StarCraft II
EC S1
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
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.