How do I determine the natural numbers ​​of x (x<10) such that 2|(124+5*x) 
in Sage?


I tried:

x=0
while x<10:
           if (124+5*x)%2==0:
                      print x,
            x=x+1

Thanks.

-- 
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.

Reply via email to