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.

A020678 Numbers of form 3 x^2 + 5 y^2.

Original entry on oeis.org

0, 3, 5, 8, 12, 17, 20, 23, 27, 32, 45, 47, 48, 53, 57, 68, 72, 75, 80, 83, 92, 93, 95, 107, 108, 113, 120, 125, 128, 137, 147, 152, 153, 155, 167, 173, 180, 183, 188, 192, 197, 200, 207, 212, 227, 228, 233, 237, 243, 245, 248, 255, 257, 263, 272, 288, 293, 300, 305, 317
Offset: 1

Views

Author

Keywords

Comments

Discriminant -60.

Crossrefs

The primes in this sequence are given by A106859 (excluding 2). - N. J. A. Sloane, Jun 01 2014

Programs

  • Mathematica
    With[{upto=320},Select[Union[3#[[1]]^2+5#[[2]]^2&/@ Tuples[ Range[ 0, Ceiling[ Sqrt[upto]]],2]],#<+upto&]] (* Harvey P. Dale, May 22 2015 *)