numerics/killer_theorem34.py:30: RuntimeWarning: overflow encountered in power
  A = sum(np.dot(w, np.abs(x) ** p) for x, w in laws)
numerics/killer_theorem34.py:34: RuntimeWarning: overflow encountered in power
  return np.dot(wts, np.abs(vals) ** p) / (A + m_p(p) * B ** (p / 2))
numerics/killer_theorem34.py:34: RuntimeWarning: invalid value encountered in scalar divide
  return np.dot(wts, np.abs(vals) ** p) / (A + m_p(p) * B ** (p / 2))
p=3.7 n=1 k=2 best ratio so far=1.0000000000
p=3.7 n=1 k=3 best ratio so far=1.0000000000
p=3.7 n=2 k=2 best ratio so far=1.0000000000
p=3.7 n=2 k=3 best ratio so far=1.0000000000
p=3.7 n=3 k=2 best ratio so far=1.0000000000
p=3.7 n=3 k=3 best ratio so far=1.0000000000
p=3.7 n=4 k=2 best ratio so far=1.0000000000
p=3.7 n=4 k=3 best ratio so far=1.0000000000
FINAL best ratio 1.0000000000012288
  summand atoms [2.29917834e+07 3.12000000e-02] weights [0. 1.]
  summand atoms [ 7.00000e-04 -1.09321e+02] weights [9.9999e-01 1.0000e-05]
  summand atoms [-0.0984  1.9678] weights [0.95237 0.04763]
  summand atoms [ 3.16378496e+10 -3.00000000e-04] weights [0. 1.]
