login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A093312 Least k such that (2n+2k)+1 and (2n*2k) +1 are both primes. 1
1, 9, 3, 1, 3, 3, 1, 3, 2, 1, 9, 2, 1, 6, 3, 4, 6, 8, 10, 3, 5, 1, 3, 2, 1, 3, 12, 1, 15, 5, 13, 9, 3, 1, 18, 3, 4, 3, 2, 4, 33, 2, 1, 12, 3, 7, 6, 3, 1, 3, 2, 16, 15, 2, 13, 9, 17, 25, 15, 5, 4, 6, 26, 1, 9, 8, 1, 30, 5, 16, 3, 2, 1, 15, 6, 7, 12, 3, 7, 15, 5, 7, 3, 2, 4, 3, 12, 1, 6, 5, 7, 36, 3, 22 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

EXAMPLE

a(4) = 1, 8+2*2 +1 =11 and 8*2*2 +1 = 17 are both prime.

MATHEMATICA

f[n_] := Block[{k = 1}, While[ !PrimeQ[2n + 2k + 1] || ! PrimeQ[2n*2k + 1], k++ ]; k]; Table[ f[n], {n, 95}] (from Robert G. Wilson v Apr 24 2004)

CROSSREFS

A093481/2.

Sequence in context: A010159 A097528 A065416 * A154629 A154489 A085579

Adjacent sequences:  A093309 A093310 A093311 * A093313 A093314 A093315

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Apr 14 2004

EXTENSIONS

Edited, corrected and extended by Robert G. Wilson v (rgwv(AT)rgwv.com), Apr 24 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 18:41 EST 2012. Contains 206074 sequences.