login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A020686
Numbers of form 5 x^2 + 7 y^2.
2
0, 5, 7, 12, 20, 27, 28, 33, 45, 48, 52, 63, 68, 73, 80, 83, 87, 108, 112, 117, 125, 132, 143, 153, 157, 175, 180, 187, 188, 192, 195, 208, 220, 237, 243, 245, 252, 255, 257, 272, 273, 292, 297, 300, 308, 320, 327, 332, 343, 348, 355, 357, 363, 377, 383, 388, 405, 412, 420
OFFSET
1,2
LINKS
N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)
MATHEMATICA
Module[{upto=500, nn}, nn=Ceiling[Sqrt[upto/5]]; Select[Union[5#[[1]]^2+ 7#[[2]]^2 &/@ Tuples[Range[0, nn], 2]], #<=upto&]] (* Harvey P. Dale, Jan 20 2016 *)
CROSSREFS
Sequence in context: A160243 A373669 A247027 * A011984 A280291 A195557
KEYWORD
easy,nonn
STATUS
approved