The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A034030 Imprimitively represented by x^2+2y^2. 5
 0, 4, 8, 9, 12, 16, 18, 24, 25, 27, 32, 36, 44, 48, 49, 50, 54, 64, 68, 72, 75, 76, 81, 88, 96, 98, 99, 100, 108, 121, 128, 132, 136, 144, 147, 150, 152, 153, 162, 164, 169, 171, 172, 176, 192, 196, 198, 200, 204, 216, 225, 228 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS MAPLE # Maple code for A002479, A057127, A034030-A034034 from N. J. A. Sloane, Apr 30 2015 lis:={}; lisP:={}; lisI:={}; M:=50; M2:=M^2; for x from 0 to M do    x2:=x^2; for y from 0 to M do    N:=x2+2*y^2; if N <= M2 then    if gcd(x, y) = 1 then lisP:={op(lisP), N}; else lisI:={op(lisI), N} fi;    lis:={op(lis), N}; fi; od: od: lprint("lis"); Lis:=sort(convert(lis, list)); lprint("lisP"); LisP:=sort(convert(lisP, list)); lprint("lisI"); LisI:=sort(convert(lisI, list)); lprint("lisPnotI"); LisPnotI:=sort(convert(lisP minus lisI, list)); lprint("lisInotP"); LisInotP:=sort(convert(lisI minus lisP, list)); lprint("lisIandP"); LisIandP:=sort(convert(lisI intersect lisP, list)); lprint("liseither"); Liseither:=sort(convert(lis minus (lisI intersect lisP), list)); CROSSREFS Cf. A002479, A097700, A057127, A034031-A034034. Sequence in context: A322109 A122145 A328014 * A057109 A069189 A283050 Adjacent sequences:  A034027 A034028 A034029 * A034031 A034032 A034033 KEYWORD nonn AUTHOR EXTENSIONS Corrected by N. J. A. Sloane, Apr 30 2015 STATUS approved

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

Last modified July 23 17:41 EDT 2021. Contains 346259 sequences. (Running on oeis4.)