login
A227907
Primes p such that 4*p - q is also prime, where p, q are consecutive primes.
2
2, 3, 5, 7, 11, 19, 37, 67, 71, 79, 137, 191, 229, 277, 283, 317, 347, 359, 397, 409, 431, 457, 461, 479, 499, 577, 691, 739, 743, 757, 787, 811, 829, 839, 967, 1009, 1061, 1087, 1091, 1109, 1153, 1193, 1279, 1327, 1373, 1429
OFFSET
1,1
LINKS
MAPLE
isA227907 := proc(n)
local q;
if isprime(n) then
q := nextprime(n) ;
isprime(4*n-q) ;
else
false;
end if;
end proc:
for n from 1 to 3000 do
if isA227907(n) then
printf("%d, ", n) ;
end if;
end do: # R. J. Mathar, Oct 14 2013
PROG
(PARI) isokp(p) = isprime(p) && isprime(4*p - nextprime(p+1)); \\ Michel Marcus, Oct 13 2013
CROSSREFS
Sequence in context: A137814 A065726 A215161 * A118985 A092728 A089769
KEYWORD
nonn
AUTHOR
Irina Gerasimova, Oct 12 2013
STATUS
approved