login
This site is supported by donations 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. 0
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

Table of n, a(n) for n=1..46.

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: A057429 A065726 A215161 * A118985 A092728 A089769

Adjacent sequences:  A227904 A227905 A227906 * A227908 A227909 A227910

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 | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified September 11 03:39 EDT 2015. Contains 261513 sequences.