J. Roeleveld wrote:
> On Monday, May 30, 2016 08:57:01 PM Alan Grimes wrote:
>> Gregory Woodbury wrote:
>>> What the...?
>>> Do you have every package there is installed?  The worst updates I
>>> have seen
>>> are only 40-50 packages.  403 being 25% implies around 1600 - 1700
>>> packages.
>>> Actually that seems about right, but why are you getting that many
>>> updates? You
>>> may have maladjusted USE flags or keywords to make portage think that many
>>> need an update.  I'm running with ~amd64 set and I check updates once
>>> a day.
>> Well, I'm running some stupid number theory code that uses 110% of my
>> cpu and ram,
> If it's stupid, why waste CPU and RAM on it?
> Or is it only stupid because you don't understand it? Just like, in your 
> opinion, Linux is stupid because you don't understand it?

Looking for numbers that are palindromes in both binary and ternary. It
is an exceptionally sparse set.

0

1

6643
1100111110011
100010001
size: 13 popcnt: 9

1422773
101011011010110110101
2200021200022
size: 21 popcnt: 13

5415589
10100101010001010100101
101012010210101
size: 23 popcnt: 10

90396755477
1010100001100000100010000011000010101
22122022220102222022122
size: 37 popcnt: 12

381920985378904469
10101001100110110110001110011011001110001101101100110010101
2112200222001222121212221002220022112
size: 59 popcnt: 32

1922624336133018996235                                                          
                                                                                
                                  

11010000011100111000101110001110011011001110001110100011100111000001011         
                                                                                
                                  

122120102102011212112010211212110201201021221                                   
                                                                                
                                  

size: 71 popcnt:
36                                                                              
                                                                                
                 

                                           
>>> number discovered by me and a my fast cpu and a marginally stupid
algorithm.                                                                      
                                                                       

2004595370006815987563563                                                       
                                                                                
                                  

110101000011111010101010100101111011110111011110111101001010101010111110000101011
                                                                                
                                 

221010112100202002120002212200021200202001211010122                             
                                                                                
                                  

size: 81 popcnt:
49                                                                              
                                                                                
                 

                                    
>>> number discovered by evil roomate using slow cpu and good algorithm
8022581057533823761829436662099                                                 
                                                                                
                                  

1100101010000100101101110000011011011111111011000011100001101111111101101100000111011010010000101010011
                                                                                
           

21000020210011222122220212010000100001021202222122211001202000012               
                                                                                
                                  

size: 103 popcnt:
55                                                                              
                                                                                
                

                                                                                
                                       

>>> this discovered by me on my cpu using keith's algorithm implemented
by me. 
                                                                         
392629621582222667733213907054116073                                            
                                                                                
                                  

10010111001111000100010100010100000011011011000101011011100000111011010100011011011000000101000101000100011110011101001
                                                                           

122102120011102000101101000002010021111120010200000101101000201110021201221     
                                                                                
                                  

size: 119 popcnt:
54                                                                              
                                                                                
                

                                                                                
                                                                                
                                  

32456836304775204439912231201966254787                                          
                                                                                
                                  

11000011010101111010110010100010010011011010101001101000001000100010000010110010101011011001001000101001101011110101011000011
                                                                     

1222100201002211120110022121002012121101011212102001212200110211122001020012221 
                                                                                
                                  

size: 125 popcnt:
57                                                                              
                                                                                
                

                                                                                
                                                                                
                                  

428027336071597254024922793107218595973                                         
                                                                                
                                  

101000010000000110001000011111100101011110011100001110100011100010001110001011100001110011110101001111110000100011000000010000101
                                                                 

222001200110022102121001000200200202022111220202002002000100121201220011002100222
                                                                                
                                 

size: 129 popcnt:
57                                                                              
                                                                                
                

                                                                                
                                                                                
                                  

1597863243206403857787246920544522912361                                        
                                                                                
                                  

10010110010000110010100010001000111010010000111000010010100010111011101000101001000011100001001011100010001000101001100001001101001
                                                               

10121021220121202021201220210001211020122122102011210001202210212020212102212012101
                                                                                
                               

size: 131 popcnt:
52                                                                              
                                                                                
                

                                                                                
                                                                                
                                  

30412638162199251273509758127730300026189                                       
                                                                                
                                  

101100101011111111011010000110101101100101010100101101010000001000000000100000010101101001010101001101101011000010110111111110101001101
                                                           

2112120210211212121000000011202022210210101010120122202021100000001212121120120212112
                                                                                
                             

size: 135 popcnt:
66                                                                              
                                                                                
                

                                                                                
                                                                                
                                  

32345684491703244980406880704479906642045
101111100001110001100000011101111000001111001000110100111001010101101101010100111001011000100111100000111101110000001100011100001111101
2200221111210202000010122020002221112212101012122111222000202210100002020121111220022
size: 135 popcnt: 68

24014998963383302600955162866787153652444049
1000100111010110110111101001100011100110100000011011001010100101011001100011001101010010101001101100000010110011100011001011110110110101110010001
2202021211210100110100002202101000110000220121210220000110001012022000010110010121121202022
size: 145 popcnt: 72

I'm currently searching the area around 3^95/ 2^151.

I expect a hit around 3^99 but I need to exhaustively search everything
that can't be excluded a-priory up to there.

The distribution,  is exponential with a mean logarithmic gap of about 6.3.

So yeah, all six cores are fully committed on this problem. =P

>> So right now I'm using the -30% of my cpu remaining
>> to run e-builds. =P   (205/250 atm...)
> Guess I was right, number theory is too difficult. Percentages especially...

It's called a joke, mofo.

-- 
IQ is a measure of how stupid you feel.

Powers are not rights.


Reply via email to