What should I do in wxMaxima to display all natural numbers abc divisible 
by 7 and a+b+c=7? In SageMath, I use the commands:
var('a,b,c')
[100*a+10*b+c for a in range(1,10) for b in range(0,10) for c in range(0,10) 
if (100*a+10*b+c)%7==0 and a+b+c==7]

133, 322, 511,700

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