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!)
A109908 a(n) = greatest prime of the form k*(n-k)-1, or 0 if no such prime exists. 2
0, 0, 0, 3, 5, 7, 11, 11, 19, 23, 29, 31, 41, 47, 53, 59, 71, 79, 89, 83, 109, 71, 131, 139, 149, 167, 181, 191, 197, 223, 239, 251, 271, 263, 293, 307, 311, 359, 379, 383, 419, 439, 461, 479, 503, 503, 521, 571, 599, 599, 647, 659, 701, 727, 743, 719, 811, 839 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
Conjecture: a(n) > 0 for n > 3.
Conjecture verified up to 10^9. - Mauro Fiorentini, Jul 23 2023
LINKS
PROG
(PARI) { a(n)=forstep(k=n\2, 1, -1, if(isprime(k*(n-k)-1), return(k*(n-k)-1))); return(0) } \\ Max Alekseyev, Oct 04 2005
CROSSREFS
Sequence in context: A058024 A215464 A260910 * A152212 A347465 A249370
KEYWORD
nonn,easy
AUTHOR
Amarnath Murthy, Jul 15 2005
EXTENSIONS
More terms from Max Alekseyev, Oct 04 2005
Definition corrected by David Wasserman, Oct 28 2008
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 06:45 EDT 2024. Contains 371906 sequences. (Running on oeis4.)