Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6600
| From | Artur <grafix@csl.pl> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | How to do quickest |
| Date | 2011-11-21 09:39 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jad68k$el9$1@smc.vnet.net> (permalink) |
Dear Mathematica Gurus,
How to do quickest following procedure (which is very slowly):
qq = {}; Do[y = Round[Sqrt[x^3]];
If[(x^3 - y^2) != 0,
kk = m /. Solve[{4 m^2 + 6 m n + n^2 ==
x, (19 m^2 + 9 m n + n^2) Sqrt[m^2 + n^2] == y}, {m, n}][[1]];
ll = CoefficientList[MinimalPolynomial[kk][[1]], #1];
lll = Length[ll];
If[lll < 12, Print[{x/(x^3 - y^2)^2, kk, x, y, x^3 - y^2}];
If[Length[ll] == 3, Print[{kk, x, y}]]]], {x, 2, 1000000}];
qq
(*Best wishes Artur*)
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
How to do quickest Artur <grafix@csl.pl> - 2011-11-21 09:39 +0000
csiph-web