On Tue, 19 Oct 2021, Elijah Stone wrote:

The solution with a floor of k has a determinant of (k^4) + 4*k. Are there any values for k in range such that that value is a perfect square?

   1 e. (= <.) %: (^&4 + 4&*) >:i.150
0

It appears not :/

Ah, no, I made a foolish mistake.  The determinant is actually:

(k^4) + 4002 * 4 * k

If we try again:

   I. (= <.) %: (^&4 + 4002 * 4&*) i.200
0 6 23 121

0, 6, and 23 are too small; but 121 may work.

   ] x=. (2*121) %~ (121*121) + x: %: (121^4) + 4*121*4002
1334r11
   x * (<.x) * (x - <.x)
4002

A rational solution!

 -E
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to