CoCalc Public Filestmp / 2015-02-26-104758.sagewsOpen with one click!
Authors: Travis Scholl, Travis Scholl, William A. Stein, Gerardo Zelaya
Views : 38
Compute Environment: Ubuntu 18.04 (Deprecated)
for d in [ -1 , -2.. -1000]: if is_fundamental_discriminant (d ): h = QuadraticField (d , a). class_number () if h == 1: print d