rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

Divisors not working properly #1591

Closed rtoy closed 2 days ago

rtoy commented 2 days ago

Imported from SourceForge on 2024-07-04 20:19:36 Created by redgolpe on 2005-12-31 09:47:45 Original: https://sourceforge.net/p/maxima/bugs/849


Divisors(n) does not return all expected values: (%i1) divisors(83*1237*1367); (%o1) {1, 83, 1690979, 140351257}

rtoy commented 2 days ago

Imported from SourceForge on 2024-07-04 20:19:37 Created by redgolpe on 2005-12-31 09:47:45 Original: https://sourceforge.net/p/maxima/bugs/849/#a762


Console output

Attachments:

rtoy commented 2 days ago

Imported from SourceForge on 2024-07-04 20:19:41 Created by willisbl on 2005-12-31 15:53:31 Original: https://sourceforge.net/p/maxima/bugs/849/#c5c9


Logged In: YES user_id=895922

Thank you for the bug report. I fixed the bug in CVS (nset.lisp). Until you update your Maxima, a workaround is to assign the option variable 'intfaclim' the value 'false':

(%i2) divisors(83*1237*1367); (%o2) {1,83,1690979,140351257} (%i3) divisors(83*1237*1367), intfaclim : false; (%o3) {1,83,1237,1367,102671,113461,1690979,140351257}

Alternatively:

(%i4) intfaclim : false$ (%i5) divisors(83*1237*1367); (%o5) {1,83,1237,1367,102671,113461,1690979,140351257}

Barton

rtoy commented 2 days ago

Imported from SourceForge on 2024-07-04 20:19:44 Created by robert_dodier on 2006-08-15 03:00:09 Original: https://sourceforge.net/p/maxima/bugs/849/#3de8


rtoy commented 2 days ago

Imported from SourceForge on 2024-07-04 20:19:48 Created by robert_dodier on 2006-08-15 03:00:09 Original: https://sourceforge.net/p/maxima/bugs/849/#2032


Logged In: YES user_id=501686

Not observed in 5.9.3.99rc1. Closing this report as fixed per comment by Barton Willis.