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!)
A175157 Numbers n such that 19*n-1, 19*n+1 are twin primes. 1
12, 30, 78, 222, 252, 330, 498, 582, 588, 630, 660, 702, 720, 750, 768, 828, 852, 1020, 1092, 1122, 1188, 1212, 1230, 1332, 1638, 1722, 1728, 1752, 2112, 2142, 2190, 2220, 2232, 2280, 2310, 2562, 2730, 2928, 3072, 3108, 3192, 3198, 3228, 3240, 3270, 3312 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
All entries are divisible by 6. - Robert Israel, May 14 2014
LINKS
EXAMPLE
For n=12, 19*12-1=227, 19*12+1=229.
MAPLE
3*select(t -> isprime(57*t-1) and isprime(57*t+1), [$1..10000]); # Robert Israel, May 14 2014
MATHEMATICA
Select[6*Range[600], And@@PrimeQ[19#+{1, -1}]&] (* Harvey P. Dale, May 28 2014 *)
PROG
(Magma) [n: n in [1..4000] | IsPrime(19*n+1) and IsPrime(19*n-1)]
(PARI) is(n)=isprime(19*n-1) && isprime(19*n+1) \\ Charles R Greathouse IV, May 14 2014
CROSSREFS
Sequence in context: A069486 A211117 A301775 * A371075 A286659 A320483
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Mar 08 2010
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 25 09:16 EDT 2024. Contains 371967 sequences. (Running on oeis4.)