Advertisement
JoelSjogren

Untitled

Aug 9th, 2019
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. box% sage
  2. ┌────────────────────────────────────────────────────────────────────┐
  3. │ SageMath version 8.8, Release Date: 2019-06-26 │
  4. │ Using Python 2.7.16. Type "help()" for help. │
  5. └────────────────────────────────────────────────────────────────────┘
  6. sage: R.<x,y,z,s>=PolynomialRing(QQ, order='lex')
  7. sage: ideal(x^2 - 2, y^2 - 3, z^2 - 5, s - (x + y + z)).groebner_basis()[-1]
  8. s^8 - 40*s^6 + 352*s^4 - 960*s^2 + 576
  9. sage: p = _
  10. sage: factor(576)
  11. 2^6 * 3^2
  12. sage: any(p(s=sign*2^i*3^j) == 0 for sign in (1, -1) for i in range(6+1) for j in range(2+1))
  13. False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement