|
| |
|
|
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; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
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[#]&] (* From 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: A201879 A089063 A171019 * A054403 A092579 A171028
Adjacent sequences: A117092 A117093 A117094 * A117096 A117097 A117098
|
|
|
KEYWORD
| easy,nonn,changed
|
|
|
AUTHOR
| Mohammed Bouayoun (mohammed.bouayoun(AT)sanef.com), Apr 18 2006
|
| |
|
|