The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A335984 Numbers m such that more than half the distinct positive terms of the sequence -k^2 + m*k - 1 are primes. 1
4, 5, 7, 9, 11, 19, 21, 31, 33, 39, 49, 51, 81, 99, 101, 123, 129, 159, 171, 177, 189, 231, 291, 441, 879, 1011, 2751 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Numbers m such that more than half the distinct terms in row m-2 of the triangular array A059036 are prime.
All positive terms of the sequence are prime for m = 1, 2, 4, 5, 9 and 21.
There are no more terms below 200000. - Pontus von Brömssen, Jul 06 2020
Numbers m such that A109909(m) > m/4. - Pontus von Brömssen, May 09 2021
LINKS
EXAMPLE
7 is in the sequence because with g(k) = -k^2+7*k-1, the positive terms of the sequence g(k) are 5=g(1), 9=g(2) and 11=g(3), and two out of the three (5 and 9) are prime.
MAPLE
filter:= n -> nops(select(isprime, [seq(n*x-x^2-1, x=1..n/2)])) > 1/2*floor(n/2):
select(filter, [$1..10000]);
CROSSREFS
Sequence in context: A035243 A035255 A341787 * A286050 A047493 A285307
KEYWORD
nonn,more
AUTHOR
Robert Israel, Jul 03 2020
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 June 7 22:01 EDT 2024. Contains 373206 sequences. (Running on oeis4.)