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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A104279 Numbers n such that 2n+1 is prime and 2n-1 is not prime. 1
1, 5, 8, 11, 14, 18, 20, 23, 26, 29, 33, 35, 39, 41, 44, 48, 50, 53, 56, 63, 65, 68, 74, 78, 81, 83, 86, 89, 95, 98, 105, 111, 113, 116, 119, 125, 128, 131, 134, 138, 140, 146, 153, 155, 158, 165, 168, 173, 176, 179, 183, 186, 189, 191, 194, 198, 200, 204, 209, 215 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..60.

EXAMPLE

a(1)=1 because 3 is prime and 1 is not prime

a(2)=5 because 11 is prime and 9 is not prime

MATHEMATICA

Select[ Range[218], PrimeQ[2# + 1] && !PrimeQ[2# - 1] &] (from Robert G. Wilson v, Apr 18 2005)

PROG

(MAGMA) [n: n in [1..220]| not IsPrime(2*n-1) and IsPrime(2*n+1)] [From Vincenzo Librandi, Jan 28 2011]

CROSSREFS

Cf. A040040 and others.

Sequence in context: A180486 A022798 A022808 * A184919 A063247 A184928

Adjacent sequences:  A104276 A104277 A104278 * A104280 A104281 A104282

KEYWORD

easy,nonn

AUTHOR

Alexandre Wajnberg, Apr 17 2005

EXTENSIONS

More terms from Robert G. Wilson v, Apr 18 2005

STATUS

approved

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 June 19 00:13 EDT 2013. Contains 226356 sequences.