login
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
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[#]&] (* 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