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!)
A117095 Numbers n such that nextprime(7*n)>7*nextprime(n) (if p is prime then nextprime(p)=p). 0
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 42, 43, 46, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
nextprime(7*2)=17 and nextprime(7)*nextprime(2)=7*2=14 then 2 is member because 17>14
MATHEMATICA
nPrime[x_]:=If[PrimeQ[x], x, NextPrime[x]]; Select[Range[150], nPrime[7#]> 7nPrime[#]&] (* Harvey P. Dale, Feb 16 2012 *)
PROG
(PARI) for(i=1, 150, if(nextprime(7*i)>nextprime(7)*nextprime(i), print1(i, ", ")))
CROSSREFS
Sequence in context: A369093 A171019 A249825 * A054403 A092579 A171028
KEYWORD
easy,nonn
AUTHOR
Mohammed Bouayoun (mohammed.bouayoun(AT)sanef.com), Apr 18 2006
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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)