login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062718 p and p^2+6 are both prime. 6
5, 11, 19, 31, 61, 79, 89, 109, 131, 151, 199, 269, 331, 401, 431, 569, 709, 859, 929, 941, 971, 991, 1039, 1249, 1319, 1361, 1409, 1451, 1531, 1549, 1559, 1571, 1601, 1619, 1699, 1879, 1901, 1999, 2069, 2081, 2089, 2111, 2179, 2341, 2399, 2411, 2621 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

LINKS

Harry J. Smith, Table of n, a(n) for n=1,...,1000

MATHEMATICA

f[n_]:=n^2+6; lst={}; Do[p=Prime[n]; If[PrimeQ[f[p]], AppendTo[lst, p]], {n, 7!}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Jul 16 2009]

PROG

(PARI) je=[]; for(n=1, 700, if(isprime(prime(n)^2+6), je=concat(je, prime(n)))); je

(PARI) { n=0; for (m=1, 10^9, if (isprime(prime(m)^2 + 6), write("b062718.txt", n++, " ", prime(m)); if (n==1000, break)) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Aug 09 2009]

CROSSREFS

Sequence in context: A065995 A023245 A125003 * A105914 A106016 A112794

Adjacent sequences:  A062715 A062716 A062717 * A062719 A062720 A062721

KEYWORD

nonn

AUTHOR

Jason Earls (zevi_35711(AT)yahoo.com), Jul 14 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

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

Last modified February 16 21:51 EST 2012. Contains 205978 sequences.