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!)
A244031 Integers n>1 such that the quadratic form x^2+n*y^2 does not represent a prime strictly between n and 2n. 4
3, 5, 8, 11, 17, 23, 24, 26, 29, 35, 41, 56, 59, 68, 83, 89, 107, 119, 120, 125, 134, 179, 185, 194, 206, 251, 263, 269, 290, 293, 314, 326, 341, 356, 371, 389, 401, 404, 461, 464, 479, 489, 491, 524, 545, 569, 593, 626 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Or: Positive numbers n such that n + k^2 is composite for all 1 <= k^2 <= n.
The next term a(105), if it exists, is > 156*10^6. - M. F. Hasler, May 07 2018
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 1..104 (cf. Jagy & Kaplansky).
William C. Jagy and Irving Kaplansky, Positive definite binary quadratic forms that represent the same primes [Cached copy]
PROG
(PARI) is(n)=!for(k=1, sqrtint(n), isprime(n+k^2)&&return) \\ M. F. Hasler, May 07 2018
CROSSREFS
Union of A244029 (subsequence of primes) and A244030 (composite terms).
Sequence in context: A281333 A371154 A338204 * A194803 A284835 A308266
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jun 22 2014
EXTENSIONS
Added "n>1" as suggested by David J. Seal. - N. J. A. Sloane, May 19 2018
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 25 04:42 EDT 2024. Contains 371964 sequences. (Running on oeis4.)