--------------------------------------------------------------------------- SignalError Traceback (most recent call last) <ipython-input-35-801031bbe3a3> in <module>() 1 aa=Integer(109604757131194562205071319966444535807) ----> 2 print is_squarefree(aa) /opt/sagemath-8.6/local/lib/python2.7/site-packages/sage/arith/misc.pyc in is_squarefree(n) 2850 2851 try: -> 2852 return e.is_squarefree() 2853 except AttributeError: 2854 pass /opt/sagemath-8.6/local/lib/python2.7/site-packages/sage/rings/integer.pyx in sage.rings.integer.Integer.is_squarefree (build/cythonized/sage/rings/integer.c:35954)() 5857 False 5858 """ -> 5859 return self.__pari__().issquarefree() 5860 5861 cpdef __pari__(self): cypari2/gen.pyx in cypari2.gen.Gen.issquarefree() SignalError: Segmentation fault
Roland
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "_sage_input_3.py", line 10, in <module> exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("YWE9MTA5NjA0NzU3MTMxMTk0NTYyMjA1MDcxMzE5OTY2NDQ0NTM1ODA3CnByaW50IGlzX3NxdWFyZWZyZWUoYWEp"),globals())+"\\n"); execfile(os.path.abspath("___code___.py")) File "", line 1, in <module> File "/tmp/tmpXtAFoN/___code___.py", line 4, in <module> exec compile(u'print is_squarefree(aa) File "", line 1, in <module> File "/opt/sagemath-8.6/local/lib/python2.7/site-packages/sage/arith/misc.py", line 2852, in is_squarefree return e.is_squarefree() File "sage/rings/integer.pyx", line 5859, in sage.rings.integer.Integer.is_squarefree (build/cythonized/sage/rings/integer.c:35954) File "cypari2/gen.pyx", line 3347, in cypari2.gen.Gen.issquarefree cysignals.signals.SignalError: Segmentation fault
---------------------------------------------------------------------------
SignalError Traceback (most recent call last)
<ipython-input-1-7806d766b198> in <module>()
1 import cypari2
2 pari = cypari2.Pari()
----> 3 pari(109604757131194562205071319966444535807).issquarefree()
cypari2/gen.pyx in cypari2.gen.Gen.issquarefree()
SignalError: Segmentation fault
Roland