OFFSET
0,1
COMMENTS
a(n) is the squarefree part of the discriminant D(n) = A079896(n) of indefinite binary quadratic forms. Certain quadratic irrationals, called omega_p(D(n)), related to the principal indefinite form of discriminant D(n) are integers in the quadratic number field Q(sqrt(a(n))). See A226166 for the definition of these irrationals omega_p(D(n)) using the D. A. Buell reference, p. 31 and p. 26.
REFERENCES
D. A. Buell, Binary Quadratic Forms, Springer, 1989.
LINKS
Gheorghe Coserea, Table of n, a(n) for n = 0..20000
FORMULA
a(n) = squarefree part of D(n) = A079896(n), n >= 0, the numbers 0 and 1 (mod 4), not a square.
MATHEMATICA
SquareFreePart[n_] := Times @@ Power @@@ ({#[[1]], Mod[#[[2]], 2]} & /@ FactorInteger[n]); SquareFreePart /@ Select[ Range[160], ! IntegerQ[Sqrt[#]] && Mod[#, 4] < 2 &] (* Jean-François Alcover, Jun 25 2013 *)
PROG
(PARI)
A079896_list(N) = {
my(n = 1, v = vector(N), top = 0);
while (top < N, if (n%4 < 2 && !issquare(n), v[top++] = n); n++; );
return(v);
};
apply(core, A079896_list(68)) \\ Gheorghe Coserea, Nov 10 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Jun 15 2013
STATUS
approved