# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a020671 Showing 1-1 of 1 %I A020671 #15 Sep 08 2022 08:44:45 %S A020671 0,1,4,8,9,12,16,17,24,25,32,33,36,41,44,48,49,57,64,68,72,73,76,81, %T A020671 88,89,96,97,100,108,113,121,128,129,132,136,137,144,152,153,164,169, %U A020671 172,176,177,192,193,196,200,201,204,209,216,225,228,233,236,241,249,256,257 %N A020671 Numbers of form x^2 + 8 y^2. %H A020671 Vincenzo Librandi, Table of n, a(n) for n = 1..10000 %H A020671 N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references) %t A020671 lim=260; k=8; Union@Flatten@Table[x^2 + k y^2, {y, 0, Sqrt[lim/k]}, {x, 0, Sqrt[lim-k y^2]}] (* _Vincenzo Librandi_, Aug 31 2016 *) %o A020671 (Magma) [n: n in [0..230] | NormEquation(8, n) eq true]; // _Vincenzo Librandi_, Aug 31 2016 %Y A020671 Cf. A007519. %K A020671 easy,nonn %O A020671 1,3 %A A020671 _David W. Wilson_ # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE