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.

A243166 Nonnegative integers of the form x^2+6xy-2y^2.

This page as a plain text file.
%I A243166 #11 Jan 12 2017 06:34:10
%S A243166 0,1,4,5,9,14,16,20,22,25,36,37,38,45,49,53,56,64,70,77,80,81,86,88,
%T A243166 89,97,100,110,113,121,125,126,133,137,144,148,152,157,158,166,169,
%U A243166 180,181,185,190,196,198,209,212,214,224,225,229,245,254,256,257,262,265,269,278,280,289,301,302,308,313,317,320,324
%N A243166 Nonnegative integers of the form x^2+6xy-2y^2.
%C A243166 Discriminant 44.
%C A243166 Nonnegative integers of the form z^2-11y^2. - _Robert Israel_, Jan 11 2017
%H A243166 Robert Israel, <a href="/A243166/b243166.txt">Table of n, a(n) for n = 1..13478</a>
%H A243166 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)
%p A243166 N:= 1000: # to get all terms <= N
%p A243166 Res:= {}:
%p A243166 for z from 0 to floor(10*sqrt(N)) do
%p A243166    for y from 0 do
%p A243166      v:= z^2 - 11*y^2;
%p A243166      if v < 0 then break fi;
%p A243166      if v <= N then Res:= Res union {v} fi;
%p A243166    od
%p A243166 od:
%p A243166 sort(convert(Res,list)); # _Robert Israel_, Jan 11 2017
%Y A243166 Primes in this sequence = A141182.
%K A243166 nonn
%O A243166 1,3
%A A243166 _N. J. A. Sloane_, May 31 2014