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.

A088298 Values of 2x + y, where x^2 + xy + y^2=p (xA002476).

Original entry on oeis.org

4, 5, 7, 7, 10, 8, 13, 11, 10, 13, 14, 13, 17, 19, 16, 19, 14, 17, 19, 23, 17, 16, 23, 22, 17, 28, 26, 25, 19, 22, 31, 29, 23, 31, 25, 29, 34, 31, 22, 35, 28, 31, 23, 25, 32, 35, 29, 40, 31, 35, 26, 29, 37, 32, 43, 40, 38, 37, 41, 31, 44, 43, 37, 41, 29, 47, 31, 37, 47, 46, 35
Offset: 1

Views

Author

Lekraj Beedassy, Nov 03 2003

Keywords

Crossrefs

Programs

  • Mathematica
    Reap[For[n = 1, n <= 200, n++, If[PrimeQ[p = 6 n + 1], s = Solve[x^2 + x y + y^2 == p && 0 < x < y, {x, y}, Integers];
    Sow[2x + y /. s[[1]]]]]][[2, 1]] (* Jean-François Alcover, Mar 09 2020 *)

Extensions

More terms from Ray Chandler, Nov 04 2003