2019-09-27 10:39:32 +0200 | received badge | ● Famous Question (source) |
2018-04-14 13:17:57 +0200 | received badge | ● Popular Question (source) |
2018-04-14 13:17:57 +0200 | received badge | ● Notable Question (source) |
2014-12-03 12:59:48 +0200 | asked a question | Generate a conditional list of integers Dear all, I'm assuming I can use Sage to generate a series of integers numbers under certain conditions. Suppose I have a theorem states that: Let N be a square-free positive integer such that N ≡ −1 (mod 24), then........etc If I want to generate a long list of squarefree numbers N's satisfied the previous condition, how can I do that? Thank you very much in advance Mohd |
2014-11-17 05:10:59 +0200 | asked a question | Possible coefficients for a given discriminant I'm a new user of Sage, and want to know what commands should I use to determine the possible positive definite binary quadratic forms for a given discriminant? i.e the coefficients For example if I have -47 as a discriminant for a quadratic form, and set [a,b,c]=ax^2+bxy+cy^2, then I will have : Ro=[1,1,12] , R1=[2,1,6], R2=[3,1,4] , R4=[3,-1,4] , R4=[2,-1,6] |