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

 

Logo

Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A127845 Numbers n such that n^2+5 and n^2+7 are twin primes. 1
0, 6, 12, 36, 48, 78, 114, 162, 258, 414, 666, 792, 804, 996, 1044, 1206, 1308, 1314, 1356, 1548, 1584, 1632, 1734, 1902, 2106, 2196, 2214, 2346, 2358, 2592, 2634, 2766, 2808, 2868, 2892, 2988, 3072, 3246, 3432, 3516, 3576, 3774, 3894, 3912, 3996, 4038 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

All terms are multiples of 6. Intersection of A114270 and A078402.

LINKS

Robert Israel, Table of n, a(n) for n = 1..7640

MAPLE

filter:= n -> isprime(n^2+5) and isprime(n^2+7):

N:= 10000: # to get all entries <= 6*N

A127845:= select(filter, [6*n $ n=0..N]); # Robert Israel, Apr 17 2014

PROG

(MAGMA) [n: n in [0..500] | IsPrime(n^2+5) and IsPrime(n^2+7)] [From Vincenzo Librandi, Nov 23 2010]

CROSSREFS

Cf. A078402, A114270.

Sequence in context: A166636 A167338 A078402 * A096932 A212976 A176681

Adjacent sequences:  A127842 A127843 A127844 * A127846 A127847 A127848

KEYWORD

nonn

AUTHOR

Zak Seidov, Apr 05 2007

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

License Agreements, Terms of Use, Privacy Policy .

Last modified December 11 03:18 EST 2016. Contains 279034 sequences.