mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Math

Reply
 
Thread Tools
Old 2006-03-29, 19:57   #1
Jushi
 
Jushi's Avatar
 
Sep 2005
UGent

1111002 Posts
Default Deciding squarefree numbers

I was wondering if there exists an algorithm which can decide whether a given number N is squarefree (i.e. N is not the multiple of a square). Obviously, factoring N gives the answer, but can it be done faster?

There is only one thing I can think of: when doing trial division, you only need to trial divide up to N^(1/3), as opposed to N^(1/2). This is because a number N with no factors less than N^(1/3) can have at most 2 factors. So, if N is not a square (this is easily checked), it is squarefree.
Jushi is offline   Reply With Quote
Old 2006-03-29, 21:05   #2
ColdFury
 
ColdFury's Avatar
 
Aug 2002

1010000002 Posts
Default

There's no known polynomial-time algorithm.
ColdFury is offline   Reply With Quote
Old 2006-03-30, 10:53   #3
Jushi
 
Jushi's Avatar
 
Sep 2005
UGent

6010 Posts
Default

And is there any algorithm known which is faster than factoring?
Jushi is offline   Reply With Quote
Old 2006-03-30, 12:50   #4
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

22·5·373 Posts
Default

Quote:
Originally Posted by Jushi
And is there any algorithm known which is faster than factoring?
In function rings, yes. In number rings, no.
R.D. Silverman is offline   Reply With Quote
Old 2006-03-30, 13:56   #5
Jushi
 
Jushi's Avatar
 
Sep 2005
UGent

22·3·5 Posts
Default

Quote:
Originally Posted by R.D. Silverman
In function rings, yes. In number rings, no.
Thanks. Unfortunately, this is the answer that I expected.

Last fiddled with by Jushi on 2006-03-30 at 13:57
Jushi is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Carmichael numbers and Devaraj numbers devarajkandadai Number Theory Discussion Group 0 2017-07-09 05:07
What's the algorithm for deciding in which base to express the post count? jasong Forum Feedback 9 2016-11-08 02:22
Need help deciding between Athlon II X4 620 and i5 garo Hardware 164 2010-01-30 18:59
6 digit numbers and the mersenne numbers henryzz Math 2 2008-04-29 02:05
LLT numbers, linkd with Mersenne and Fermat numbers T.Rex Math 4 2005-05-07 08:25

All times are UTC. The time now is 13:32.


Sat Jul 17 13:32:06 UTC 2021 up 50 days, 11:19, 1 user, load averages: 1.64, 1.56, 1.57

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.