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!)
A273597 min { x >= 0 | A273595(n) + prime(n)*x + x^2 is composite }, where A273595(n) is such that this is a local maximum. 2
39, 38, 37, 35, 34, 32, 31, 29, 26, 25, 22, 20, 19, 17, 14, 12, 11, 12, 12, 12, 12, 16, 15, 12, 12, 13, 14, 13, 13, 14, 13, 13, 13, 13, 14, 14, 14, 16, 16, 16, 15, 15, 16, 16, 17 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
COMMENTS
See A273595 for further information and (cross)references.
From the initial values, the sequence seems strictly decreasing, with a(n+1) - a(n) = (prime(n+1) - prime(n))/2; however, this property does not persist beyond n = 16.
This is the subsequence of A273770 with indices n corresponding to odd primes 2n+1, see formula. - M. F. Hasler, Feb 17 2020
LINKS
FORMULA
a(n) = (81 - prime(n))/2 for 1 < n < 17.
a(n) = A273770((prime(n) - 1)/2). - M. F. Hasler, Feb 17 2020
PROG
(PARI) A273597(n)=A273770(prime(n)\2) \\ changed Feb 17 2020
(PARI) A273597(n, p=prime(n), q=A273756(p\2))={for(x=1, oo, isprime(q+p*x+x^2)||return(x))} \\ M. F. Hasler, Feb 17 2020
CROSSREFS
Sequence in context: A317388 A088344 A268856 * A022995 A023481 A291517
KEYWORD
nonn
AUTHOR
M. F. Hasler, May 26 2016
EXTENSIONS
Edited and extended using A273756(0..100) due to Don Reble, by M. F. Hasler, Feb 17 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 April 16 17:08 EDT 2024. Contains 371749 sequences. (Running on oeis4.)