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!)
A195352 Smallest prime p such that 2*n+1 = 2*p + q for some odd prime q. 5
2, 2, 2, 3, 2, 2, 3, 2, 2, 3, 2, 3, 7, 2, 2, 3, 5, 2, 3, 2, 2, 3, 2, 3, 7, 2, 3, 7, 2, 2, 3, 5, 2, 3, 2, 2, 3, 5, 2, 3, 2, 3, 19, 2, 3, 7, 5, 2, 3, 2, 2, 3, 2, 2, 3, 2, 3, 7, 5, 11, 7, 11, 2, 3, 2, 3, 13, 2, 2, 3, 5, 5, 7, 2, 2, 3, 5, 2, 3, 7, 2, 3, 2, 3, 13 (list; graph; refs; listen; history; text; internal format)
OFFSET
3,1
COMMENTS
Related to Lemoine's conjecture, which states that all odd integers > 5 can be represented as 2*p+q, p, q primes.
REFERENCES
See A002091.
LINKS
EXAMPLE
a(3)=2 because 2*3+1=7=2*2+3; a(4)=2: 2*3+1=9=2*2+5; a(5)=2: 11=2*2+7; a(6)=3: 13=2*3+7.
MATHEMATICA
spp[n_]:=Module[{p=2}, While[CompositeQ[(2n+1)-2p], p=NextPrime[p]]; p]; Array[ spp, 90, 3] (* Harvey P. Dale, Jun 02 2022 *)
CROSSREFS
Cf. A002091, A103506 (smallest q), A046927, A195353 (positions of records), A195354 (records), A103153 (prime p=2 excluded), A185091.
Sequence in context: A173883 A022922 A239141 * A103507 A219252 A290839
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Sep 16 2011
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 19 18:05 EDT 2024. Contains 371798 sequences. (Running on oeis4.)