cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A244291 Positive numbers primitively represented by the binary quadratic form (1, 6, -3).

This page as a plain text file.
%I A244291 #14 Oct 31 2016 10:21:46
%S A244291 1,4,13,24,33,37,52,61,69,73,88,97,109,121,132,141,148,157,169,177,
%T A244291 181,184,193,213,229,241,244,249,253,276,277,292,312,313,321,337,349,
%U A244291 373,376,388,393,397,409,421,429,433,436,457,472,481,484,501,517,529,537
%N A244291 Positive numbers primitively represented by the binary quadratic form (1, 6, -3).
%C A244291 Discriminant = 48.
%H A244291 N. J. A. Sloane et al., <a href="https://oeis.org/wiki/Binary_Quadratic_Forms_and_OEIS">Binary Quadratic Forms and OEIS</a> (Index to related sequences, programs, references)
%t A244291 Reap[For[n = 1, n < 1000, n++, r = Reduce[x^2 + 6 x y - 3 y^2 == n, {x, y}, Integers]; If[r =!= False, If[AnyTrue[{x, y} /. {ToRules[r /. C[1] -> 0]}, CoprimeQ @@ # &], Sow[n]]]]][[2, 1]] (* _Jean-François Alcover_, Oct 31 2016 *)
%Y A244291 Cf. A085018, A244169. A subsequence of A243168.
%K A244291 nonn
%O A244291 1,2
%A A244291 _Peter Luschny_, Jun 25 2014