OFFSET
1,1
LINKS
S. R. Finch, Class number theory
Steven R. Finch, Class number theory [Cached copy, with permission of the author]
Eric Weisstein's World of Mathematics, Fundamental Unit.
MATHEMATICA
nonSquares = Select[Range[72], !IntegerQ[Sqrt[#]]& ]; 2*NumberFieldFundamentalUnits[Sqrt[#]][[1, 2, 1]] & /@ nonSquares (* Jean-François Alcover, Nov 09 2012 *)
PROG
(PARI) for(n=1, 30, if(!issquare(n), print1(abs(2*polcoeff(lift(bnfinit(x^2-n).fu[1]), 0)), ", "))) /* Ralf Stephan, Sep 18 2013; updated by Michel Marcus, Jun 25 2020 */
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved