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!)
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 (list; graph; refs; listen; history; text; internal format)
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

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 23 10:29 EDT 2024. Contains 371905 sequences. (Running on oeis4.)