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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A117096 Numbers n such that nextprime(2*n)<2*nextprime(n) (if p is prime then nextprime(p)=p). 0
1, 6, 8, 9, 14, 15, 18, 20, 21, 24, 25, 26, 30, 32, 33, 34, 35, 36, 38, 39, 44, 48, 49, 50, 51, 54, 55, 56, 62, 63, 64, 65, 68, 69, 74, 75, 76, 77, 78, 80, 81, 84, 85, 86, 90, 91, 92, 93, 94, 95, 96, 98, 99, 104, 105, 110, 111, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

if p is prime and nextprime(p*n)<nextprime(p)*nextprime(n) then n is composite

EXAMPLE

nextprime(2*6)=13 and nextprime(2)*nextprime(6)=2*7=14 then 6 is member because 13<14

PROG

(PARI) for(i=1, 150, if(nextprime(2*i)<nextprime(2)*nextprime(i), print1(i, ", ")))

CROSSREFS

Sequence in context: A043720 A191980 A161982 * A067812 A047394 A184874

Adjacent sequences:  A117093 A117094 A117095 * A117097 A117098 A117099

KEYWORD

easy,nonn

AUTHOR

Mohammed Bouayoun (mohammed.bouayoun(AT)sanef.com), Apr 18 2006

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 15 14:57 EST 2012. Contains 205823 sequences.