>>> i have figured out that most numbers with all 1s for digits >>> are prime with this one exception if the number has 3 6 9 12 >>> 15 and all other numbers that have 3 as a factor for the >>> amount if digits in the number. There for 10 million 1s would >>> be prime. > Chris Caldwell wrote: >> Very very few numbers with all ones are prime. Why >> not test your theory with the numbers with from one to thirty >> ones which are trivial to factor? >> >> Heck, just factor this one: 1111 and put and end to >> your "all prime" theory. > > note they didn't specify which base this is in. 'all 1s' in binary > describes all mersenne numbers, of which we well know most aren't prime.
Actually he did (well, at least he specified that 3 divides the base minus one, so it could be 4, 7, 10, ...; but not binary). My example will factor in any base, which puts an end to his All the rest are prime theory no matter what the base is. CC _______________________________________________ Prime mailing list [email protected] http://hogranch.com/mailman/listinfo/prime
