login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A156320 List of prime pairs of the form (p, p+8). 4
3, 11, 5, 13, 11, 19, 23, 31, 29, 37, 53, 61, 59, 67, 71, 79, 89, 97, 101, 109, 131, 139, 149, 157, 173, 181, 191, 199, 233, 241, 263, 271, 269, 277, 359, 367, 389, 397, 401, 409, 431, 439, 449, 457, 479, 487, 491, 499, 563, 571, 569, 577, 593, 601, 599, 607, 653, 661, 683, 691, 701 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

Fernando Neres de Oliveira, On the Solvability of the Diophantine Equation p^x + (p + 8)^y = z^2 when p > 3 and p + 8 are Primes, Annals of Pure and Applied Mathematics (2018) Vol. 18, No. 1, 9-13.

FORMULA

a(2n+1) = A023202(n+1). a(2n+2) = A092402(n+1). [R. J. Mathar, Feb 09 2009]

MATHEMATICA

Flatten[Select[{#, # + 8} &/@Prime[Range[1000]], PrimeQ[Last[#]]&]] (* Vincenzo Librandi, Nov 01 2012 *)

PROG

(Python)

from sympy import isprime, prime

for n in range(1, 100):

    if isprime(prime(n)+8):

print(prime(n), prime(n)+8) # Stefano Spezia, Dec 06 2018

CROSSREFS

Cf. A023202, A092402.

Sequence in context: A308968 A084466 A084462 * A134969 A139686 A212782

Adjacent sequences:  A156317 A156318 A156319 * A156321 A156322 A156323

KEYWORD

nonn,tabf

AUTHOR

Vincenzo Librandi, Feb 08 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 25 11:26 EST 2020. Contains 332233 sequences. (Running on oeis4.)