A leading zero is in Python (and hence Sage) an octal number. I also stumbled about this. Many others probably as well. Just get rid of the leading zero ;-)
-- Harald On Wednesday, February 18, 2015 at 9:21:47 PM UTC+1, kuno wrote: > > Hi, code below > > sage: version() > 'Sage Version 6.4.1, Release Date: 2014-11-23' > sage: 4685+0618+8913+4471 > File "<ipython-input-20-79ff8b44e84e>", line 1 > Integer(4685)+Integer(0618)+Integer(8913)+Integer(4471) > ^ > SyntaxError: invalid token > sage: 4685+0637+1553+5471 > 12124 > sage: > > > However 4685+0637+1553+5471=12346 and not 12124 > > Regards, > > kuno > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.