May be you want to use ` WeightedIntegerVectors(15,[1,1])` or restricted 
partitions inside gap. This, for a single linear Diophantine equation like 
yours might be a fast approach.

Pedro

On Friday, April 17, 2020 at 7:17:12 PM UTC+2, Bert Henry wrote:
>
> I have the equation
> x + y = 15
> an I'm looking for solution only in the range x=1..9 and y=1..9, x and y 
> both integer
> Is there a sage-command to do that?
>
> Thanks in advance
> Bert Henry
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/ab22cb48-e4b5-4d47-a5a9-639ba4fd23c4%40googlegroups.com.

Reply via email to