| Download
All published worksheets from http://sagenb.org
Project: sagenb.org published worksheets
Views: 168742Image: ubuntu2004
[1, 2, 4, 5, 10, 11, 20, 22, 44, 55, 110, 220]
[1, 2, 4, 71, 142, 284]
220
284
[1, 2, 4, 7, 14, 28]
28
56
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_10.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("dmFyKCJuIikKcyhuKT1zdW0oZGl2aXNvcnMobikpLW4="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))' + '\n', '', 'single')
File "", line 1, in <module>
File "/tmp/tmpVBYRUE/___code___.py", line 3, in <module>
exec compile(u'__tmp__=var("n"); s = symbolic_expression(sum(divisors(n))-n).function(n)' + '\n', '', 'single')
File "", line 1, in <module>
File "/sagenb/sage_install/sage-4.8-sage.math.washington.edu-x86_64-Linux/local/lib/python2.6/site-packages/sage/rings/arith.py", line 1301, in divisors
for p, e in f:
TypeError: 'sage.symbolic.expression.Expression' object is not iterable
28
284
220
1210
1184
|
|
|