Chris Caldwell wrote: >> 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. >> > > > 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. _______________________________________________ Prime mailing list [email protected] http://hogranch.com/mailman/listinfo/prime
