login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A000401 Numbers of form x^2 + y^2 + 2z^2. 2

%I #24 Dec 26 2016 03:28:36

%S 0,1,2,3,4,5,6,7,8,9,10,11,12,13,15,16,17,18,19,20,21,22,23,24,25,26,

%T 27,28,29,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,47,48,49,50,51,

%U 52,53,54,55,57,58,59,60,61,63,64,65,66,67,68,69,70,71,72,73,74,75,76

%N Numbers of form x^2 + y^2 + 2z^2.

%C Numbers represented by quadratic form with Gram matrix [ 1, 0, 0; 0, 1, 0; 0, 0, 2 ].

%D L. E. Dickson, Integers represented by positive ternary quadratic forms, Bull. Amer. Math. Soc., 33 (1927) 63-70. [http://projecteuclid.org/euclid.bams/1183491956]

%D W. SierpiƄski, Elementary Theory of Numbers, (Ed. A. Schinzel) North-Holland 1988, see Exercise 4 on p. 395.

%H T. D. Noe, <a href="/A000401/b000401.txt">Table of n, a(n) for n = 1..1000</a>

%H G. Nebe and N. J. A. Sloane, <a href="http://www.math.rwth-aachen.de/~Gabriele.Nebe/LATTICES/tetragonalP.html">Home page for this lattice</a>

%F These are the numbers not of the form 4^k*(16*n + 14). [Dickson] - _Everett W. Howe_, May 18 2008

%p L := [seq(0,i=1..1)]: for x from 0 to 20 do for y from 0 to 20 do for z from 0 to 20 do if member(x^2+y^2+2*z^2, L)=false then L := [op(L), x^2+y^2+2*z^2] fi: od: od: od: L2 := sort(L): for i from 1 to 100 do printf(`%d,`,L2[i]) od:

%t q=16;imax=q^2;Select[Union[Flatten[Table[x^2+y^2+2*z^2,{z,0,q},{y,0,q},{x,0,q}]]],#<=imax&] (* _Vladimir Joseph Stephan Orlovsky_, Apr 19 2011 *)

%Y Complement of A055039.

%K nonn

%O 1,3

%A _N. J. A. Sloane_

%E More terms from _James A. Sellers_, May 31 2000

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 12:14 EDT 2024. Contains 371792 sequences. (Running on oeis4.)