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!)
A073310 a(n) is the smallest number k such that 2+k and 2n+k are both prime. 1
1, 1, 1, 3, 1, 1, 3, 1, 1, 3, 1, 5, 3, 1, 1, 5, 3, 1, 3, 1, 1, 3, 1, 5, 3, 1, 5, 3, 1, 1, 5, 3, 1, 3, 1, 1, 5, 3, 1, 3, 1, 5, 3, 1, 11, 5, 3, 1, 3, 1, 1, 3, 1, 1, 3, 1, 17, 11, 9, 11, 5, 3, 1, 3, 1, 5, 3, 1, 1, 9, 9, 5, 3, 1, 1, 5, 3, 1, 5, 3, 1, 3, 1, 5, 3, 1, 5, 3, 1, 1, 9, 9, 5, 3, 1, 1, 3, 1, 1, 11, 9, 29 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
Conjecture: a(n) < 2n. See A073316 for a generalization for all positive even numbers less than 2n.
LINKS
EXAMPLE
a(45) = 11 because 11 is the smallest number yielding two primes when added to 2 and 90. This is the first instance where this sequence differs from A060266.
MATHEMATICA
maxN=200; lst={}; For[n=1, n<=maxN, n++, k=1; While[k<2n&&!(PrimeQ[k+2]&&PrimeQ[k+2n]), k=k+2]; AppendTo[lst, k]; If[k>2n, Print["Failure at n = ", n]]]; lst
CROSSREFS
Sequence in context: A049653 A281680 A060266 * A174414 A046929 A068695
KEYWORD
easy,nonn
AUTHOR
T. D. Noe, Aug 02 2002
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 08:08 EDT 2024. Contains 371782 sequences. (Running on oeis4.)