login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A088296 Values of y - x, where x^2 + xy + y^2=p (x<y) is a prime of the form 6n + 1 (=A002476). 6
1, 2, 1, 4, 1, 5, 1, 5, 7, 4, 5, 7, 2, 1, 7, 4, 11, 8, 7, 2, 11, 13, 5, 7, 14, 1, 5, 7, 16, 13, 1, 5, 14, 4, 13, 8, 1, 7, 19, 2, 13, 10, 20, 19, 11, 8, 17, 1, 16, 11, 23, 20, 10, 17, 1, 7, 11, 13, 8, 22, 5, 7, 16, 11, 26, 2, 25, 19, 5, 7, 23, 13, 25, 8, 19, 1, 26, 20, 17, 10, 19, 14, 5, 7, 23 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
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[y - x /. s[[1]]]]]][[2, 1]] (* Jean-François Alcover, Mar 09 2020 *)
CROSSREFS
Sequence in context: A296560 A284652 A261242 * A282738 A093890 A325609
KEYWORD
nonn
AUTHOR
Lekraj Beedassy, Nov 03 2003
EXTENSIONS
More terms from Ray Chandler, Nov 04 2003
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 23:26 EDT 2024. Contains 371917 sequences. (Running on oeis4.)