Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A078116
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A078116 Primes of the form x^2 + 2y^2 where y<=x. Terms are listed in increasing order of x; for fixed x they're in increasing order of y. +0
1
3, 11, 17, 43, 67, 83, 89, 113, 131, 179, 139, 193, 283, 241, 331, 457, 227, 233, 257, 353, 467, 563, 617, 307, 577, 739, 379, 433, 523, 811, 1009, 443, 449, 491, 569, 641, 683, 953, 1019, 1163, 547, 601, 691, 643, 787, 1777, 761, 827, 857, 929, 971, 1307 (list; graph; listen)
OFFSET

1,1

COMMENT

Every prime of the form 8n+1 or 8n+3 has a unique representation of the form x^2 + 2y^2 with positive integers x and y. This sequence has the primes for which y<=x.

REFERENCES

Morris Kline, Mathematical Thought From Ancient to Modern Times, Oxford University Press 1972, p. 276 (Fermat prime number theorems).

MATHEMATICA

Select[Flatten[Table[x^2+2y^2, {x, 0, 30}, {y, 0, x}]], PrimeQ]

PROGRAM

(PARI) sqplus2sq(n, m) = ct=0; for(x=1, n, for(y=1, x, s = x^2+m*y^2; if(isprime(s), ct+=1; print1(s" "); ); ); ); \\ Lists primes of the form x^2+m*y^2 with 1<=y<=x<=n.

CROSSREFS

Sequence in context: A154934 A023865 A024592 this_sequence A127996 A032008 A061368

Adjacent sequences: A078113 A078114 A078115 this_sequence A078117 A078118 A078119

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Dec 05 2002

EXTENSIONS

Edited by Dean Hickerson (dean.hickerson(AT)yahoo.com), Dec 12 2002

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 30 13:13 EST 2009. Contains 167758 sequences.


AT&T Labs Research