 mersenneforum.org Search Results
 Register FAQ Search Today's Posts Mark Forums Read

 Showing results 1 to 25 of 41 Search took 0.01 seconds. Search: Posts Made By: science_man_88
 Forum: Puzzles 2010-12-15, 14:27 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 composites. composites.
 Forum: Puzzles 2010-12-15, 12:34 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 I think we could use p^2=((p-q)^2) mod q to... I think we could use p^2=((p-q)^2) mod q to eliminate composites there are ways we could use this like for example the difference between odd primes is always 2x for some x so ((2x)^2) mod q can be...
 Forum: Puzzles 2010-12-14, 22:21 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 p^{2} - q^{2} = 2*\left(\sum_{i=q}^{p}i\right)... p^{2} - q^{2} = 2*\left(\sum_{i=q}^{p}i\right) -(p+q) this is more accurate to what i said.
 Forum: Puzzles 2010-12-14, 21:54 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 I forgot to mention p^2-q^2 can be made into 2*... I forgot to mention p^2-q^2 can be made into 2* (the sum of the numbers (q-p)) -(p+q)
 Forum: Puzzles 2010-12-14, 21:52 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 I think I was thinking to find 6n+1 primes from a... I think I was thinking to find 6n+1 primes from a 6n+1 prime guessing random numbers that are multiples of 6.
 Forum: Puzzles 2010-12-14, 21:48 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 given primes p and q
 Forum: Puzzles 2010-12-14, 21:37 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 well I've drowned lol. well I've drowned lol.
 Forum: Puzzles 2010-12-14, 21:04 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 if theres a easy formula for calculating the... if theres a easy formula for calculating the distance between primes that doesn't use a random n in 6n I could see a way to extend it the way it is, but using a shift in vectors.
 Forum: Puzzles 2010-12-14, 16:08 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 (11:52)>for(m=1,2,a=0;forprime(p=2,7919,a+=p^p;if(... (11:52)>for(m=1,2,a=0;forprime(p=2,7919,a+=p^p;if(a%(10^m)==0,print(p" "m)) 11 1 17 1 67 1 83 1 137 1 191 1 197 1 211 1 227 1
 Forum: Puzzles 2010-12-14, 16:06 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 (09:07)>v=vector(1000,n,(prime(n)^prime(n))%10) ... (09:07)>v=vector(1000,n,(prime(n)^prime(n))%10) %208 = [4, 7, 5, 3, 1, 3, 7, 9, 7, 9, 1, 7, 1, 7, 3, 3, 9, 1, 3, 1, 3, 9, 7, 9, 7, 1, 7, 3, 9...
 Forum: Puzzles 2010-12-14, 15:50 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 yeah the problem with my script is the for loop... yeah the problem with my script is the for loop you are complaining about goes through the indexes of an vector so a forprime would only check prime indexes.
 Forum: Puzzles 2010-12-14, 13:08 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 no changing v to d where it replaces... no changing v to d where it replaces prime(x)^prime(x) with prime(x)^2 gave 907 as the first term.
 Forum: Puzzles 2010-12-14, 12:49 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 (08:47)>a=0;for(m=1,100,for(x=1,#v,a=a+v[x];b=10^(... (08:47)>a=0;for(m=1,100,for(x=1,#v,a=a+v[x];b=10^(m);if(a%b==0,print(prime(x));break()));a=0) 11 661 4397 where (08:47)>v=vector(1000,n,(prime(n)^prime(n))%10)
 Forum: Puzzles 2010-12-14, 12:46 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 If so I've got them beat! @CRG so in other... If so I've got them beat! @CRG so in other words prime(x) is almost like: for(y=1,#primelist,if(x==y,return(primelist[x])))
 Forum: Puzzles 2010-12-14, 00:56 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 flaws: 1) isn't always faster 2) results... flaws: 1) isn't always faster 2) results of our codes don't line up so why improve performance of something that gives wrong supposedly inaccurate results 3) I'm already in a bad mood as my...
 Forum: Puzzles 2010-12-13, 16:41 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 with an outer loop I got 11 661 for the start. with an outer loop I got 11 661 for the start.
 Forum: Puzzles 2010-12-13, 14:51 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 a=0;for(m=1,2,for(n=1,1000,a=a+prime(n)^prime(n);i... a=0;for(m=1,2,for(n=1,1000,a=a+prime(n)^prime(n);if(a%(10^m)==0,print(n":"m)));a=0) like this ?
 Forum: Puzzles 2010-12-13, 13:15 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 I don't know what you're doing obviously because... I don't know what you're doing obviously because all I came up with that your description could be is: a=0;for(n=1,100,a=a+prime(n)^prime(n);print(a%(10^n)))
 Forum: Puzzles 2010-04-22, 00:40 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 http://bytes.com/topic/c/answers/872854-loop-findi... http://bytes.com/topic/c/answers/872854-loop-finding-possible-odd-divisors this was my first post there ( surprised it wasn't my last) maybe this can be used as the isprime() part of the pari code.
 Forum: Puzzles 2010-04-22, 00:38 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 wow this is weird I don't find pari.h in my... wow this is weird I don't find pari.h in my download ( which i haven't figured out how to install). this must be pari C as it seems to use only pari functions that I know of wish i got it in real C...
 Forum: Puzzles 2010-04-21, 15:07 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 1274 KB unzipped still was over 400 when... 1274 KB unzipped still was over 400 when zipped/RAR
 Forum: Puzzles 2010-04-21, 14:06 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 thanks I'll write it to a .htm.txt ... thanks I'll write it to a .htm.txt print1("\n
"p ":"s"
");d=0;s=0;forprime(p=2,5000,s=s+p^2;d=d+1;print1("");if(d==10,print1("\n");d=0));print1("") that's...
 Forum: Puzzles 2010-04-21, 12:45 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 ... ...
 Forum: Puzzles 2010-04-21, 12:26 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 2:43:135:387:8711:20813:37717:66619:102723:155629:2397
... ...
 Forum: Puzzles 2010-04-21, 11:28 Replies: 183 Sums of all Squares Views: 14,446 Posted By science_man_88 CRG I got gp2c but can't understand where the... CRG I got gp2c but can't understand where the install is am I missing something ?
 Showing results 1 to 25 of 41

All times are UTC. The time now is 06:48.

Wed Oct 21 06:48:03 UTC 2020 up 41 days, 3:59, 0 users, load averages: 1.08, 1.27, 1.35