login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A078763 List primes between (2n-1)^2 and (2n)^2. 2
2, 3, 11, 13, 29, 31, 53, 59, 61, 83, 89, 97, 127, 131, 137, 139, 173, 179, 181, 191, 193, 227, 229, 233, 239, 241, 251, 293, 307, 311, 313, 317, 367, 373, 379, 383, 389, 397, 443, 449, 457, 461, 463, 467, 479, 541, 547, 557, 563, 569, 571, 631, 641, 643, 647 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Primes are on adjacent sides of the Ulam square prime-spiral.

LINKS

Robert Israel, Table of n, a(n) for n = 1..10000

EXAMPLE

The 2 primes between 3^2=9 (odd) and 4^2=16 (even) are just a(3)=11 and a(4)=13.

MAPLE

2, seq(op(select(isprime, [seq(i, i=(2*n-1)^2..(2*n)^2, 2)])), n=1..20); # Robert Israel, Oct 28 2020

MATHEMATICA

f[n_] := Select[Range[(2n - 1)^2, (2n)^2], PrimeQ]; Flatten@Array[f, 13] (* Ray Chandler, May 03 2007 *)

CROSSREFS

Cf. A014085, A078764.

Sequence in context: A040101 A045317 A215378 * A157884 A234530 A235632

Adjacent sequences:  A078760 A078761 A078762 * A078764 A078765 A078766

KEYWORD

easy,nonn

AUTHOR

Donald S. McDonald, Jan 09 2003

EXTENSIONS

Extended by Ray Chandler, May 03 2007

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 24 23:25 EDT 2021. Contains 346273 sequences. (Running on oeis4.)