User Portlet User Portlet

Discussions
If we allow concatenation. 1*2*3*456+7-8*9*10 1+2*34*5*6-7+8-9-10 1/2*345*6+78+910 12+3/4*5*67*8-9+10 12/34*5678+9+10 12+345*6-78+9+10 10-9*8-76+5*432+1 10-9*87+65*43+2-1 10*98-7*6+543*2-1 ...
Thanks for trying, however I have re-booted at least 3 times and done a complete shutdown of the pc and its just this one program that seems to have the issue, my last attempt it evaluated to 414752647 before it stopped and after a few moments the...
The following code is a very cut down version of what I am working with in terms of size. I have restricted the range of numbers to a max of 42, in my version it is 118, also the number of lists are over 11 million, for this demonstration I have...
Try this. Partition[Flatten[Import[...]],{2}] Or Flatten[Import[...],1]
Take a look at this, the function primpyths1, generates all primitive Pythagorean triangles with a given input value for x. The remainder of the code creates a table up to 10000, also creates a reversed copy and joins them and finally prints them...
In general if I want to see what's going on I put a strategic print statement in, you do have to be cautious in this regard particularly if as a result there are many items to print, it is sometimes wise to also include a Pause[1] after the print so...
James, Thanks for the link, it does run now. Hope you don't mind but I have taken the liberty of amending my previous code slightly that when run, 'a few ms' does what I think is essentially what your program is doing. pyths[x_Integer,...
Trevor, Thank you for your quick reply, your code is certainly faster without the subsets. here are a few results showing how much faster on the following length of list 1097 is x 39 3280 is x 78 9841 is x 2.68 29524 is x...
Do[Print["This is and odd number", " -> ", i], {y, 1, 2}] Is your second Do loop, the 'y' is just how many times you want it to loop, you can set that value from the first loop. You can use the values of {a1, a2, a3, a4 and m} in this loop. ...
Daniel, Thank you for your reply, and maybe in some future update a function would be available to do this, or even an extension to the existing function, just a thought.